<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023223" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023223</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/syntax-preg-function-php#comment-1142818</link>
    <description> &lt;p&gt;Ok i now did like you with 2 preg_match and it works fine. i cant understand why preg_match_all wouldn&#039;t work anyway i&#039;ll use like this. Thanks for the help was really stuck on this one&lt;/p&gt;
 </description>
     <pubDate>Tue, 16 Dec 2003 18:58:36 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142818 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/syntax-preg-function-php#comment-1142813</link>
    <description> &lt;p&gt;Did you try it with  in $string instead the line i have works great if the tags are lower case that&#039;s why i don&#039;t think it&#039;s an error in the expression but in the modifier. I tried with &quot;!&quot; instead of &quot;/&quot; as delimiter but i get the same thing.&lt;/p&gt;
 </description>
     <pubDate>Tue, 16 Dec 2003 18:43:19 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1142813 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/syntax-preg-function-php#comment-1142801</link>
    <description> &lt;p&gt;I&#039;m having no case sensitivity problems with preg_match_all() with the &quot;smi&quot; modifiers.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://host.maxalbert.com/testing_center/regex_exercise9.php&quot; class=&quot;bb-url&quot;&gt;http://host.maxalbert.com/testing_center/regex_exercise9.php&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$string&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;lt;&amp;lt;&amp;lt;myHTML&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;&amp;lt;title&amp;gt;this is the head&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;this is the body&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;myHTML;&lt;br /&gt;&lt;br /&gt;echo \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;\&quot;;&lt;br /&gt;echo \&quot;&amp;lt;textarea rows=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot; cols=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;40&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot; wrap=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;off&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$string&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&amp;lt;/textarea&amp;gt;\&quot;;&lt;br /&gt;echo \&quot;&amp;amp;nbsp;&amp;lt;textarea rows=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot; cols=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;40&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot; wrap=\\&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;off&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&amp;gt;\n\&quot;;&lt;br /&gt;&lt;br /&gt;preg_match(\&quot;!(&amp;lt;head&amp;gt;)(.*)(&amp;lt;/head&amp;gt;)!smi\&quot;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$string&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$head&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;preg_match(\&quot;!(&amp;lt;body.*)(.*)(&amp;lt;/body&amp;gt;)!smi\&quot;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$string&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$body&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&lt;br /&gt;print_r(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$head&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;print_r(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$body&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;&lt;br /&gt;echo \&quot;&amp;lt;/textarea&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 16 Dec 2003 18:17:46 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1142801 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
