<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Parse html with PHP preg_match_all</title>
	<atom:link href="http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/</link>
	<description>Web development tutorials, SEO articles and PHP script resources</description>
	<lastBuildDate>Sun, 28 Jun 2009 14:32:38 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-68213</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Sat, 09 Feb 2008 07:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-68213</guid>
		<description>Please post further questions via the forum:
http://www.finalwebsites.com/forums/</description>
		<content:encoded><![CDATA[<p>Please post further questions via the forum:<br />
<a href="http://www.finalwebsites.com/forums/" rel="nofollow">http://www.finalwebsites.com/forums/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsha</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-68210</link>
		<dc:creator>Harsha</dc:creator>
		<pubDate>Sat, 09 Feb 2008 07:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-68210</guid>
		<description>how can i get the info bw

user_agent=&quot; info &quot;
i want to extract the &quot;info&quot;
part from a file


can u tell me how to add tht to the $ pattern</description>
		<content:encoded><![CDATA[<p>how can i get the info bw</p>
<p>user_agent=&#8221; info &#8221;<br />
i want to extract the &#8220;info&#8221;<br />
part from a file</p>
<p>can u tell me how to add tht to the $ pattern</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-18794</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Fri, 15 Jun 2007 11:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-18794</guid>
		<description>Hi Max,

just did a (second) test, but it&#039;s working fine, do you have an example page (URL) where it&#039;s not working?

Olaf</description>
		<content:encoded><![CDATA[<p>Hi Max,</p>
<p>just did a (second) test, but it&#8217;s working fine, do you have an example page (URL) where it&#8217;s not working?</p>
<p>Olaf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-18366</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Sun, 10 Jun 2007 15:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-18366</guid>
		<description>The code doesnt work for single quotes (the closing quote doesnt work properly)

src=&#039;image_path/some_path.image.gif&#039;</description>
		<content:encoded><![CDATA[<p>The code doesnt work for single quotes (the closing quote doesnt work properly)</p>
<p>src=&#8217;image_path/some_path.image.gif&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-14433</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Fri, 18 May 2007 07:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-14433</guid>
		<description>:)

I see the problem, I unescaped the double quotes too but WP has stripped them off!

Thanks Iiro for pointing me on that!</description>
		<content:encoded><![CDATA[<p> <img src='http://www.web-development-blog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I see the problem, I unescaped the double quotes too but WP has stripped them off!</p>
<p>Thanks Iiro for pointing me on that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iiro</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-14429</link>
		<dc:creator>Iiro</dc:creator>
		<pubDate>Fri, 18 May 2007 04:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-14429</guid>
		<description>@stelabouras:

add backslaches before the double quotes:

&lt;code&gt;&quot;/src=[\\&quot;&#039;]?([^\\&quot;&#039;]?.*(png&#124;jpg&#124;gif))[\\&quot;&#039;]?/i&quot;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@stelabouras:</p>
<p>add backslaches before the double quotes:</p>
<p><code>"/src=[\\"']?([^\\"']?.*(png|jpg|gif))[\\"']?/i"</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-14186</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Wed, 16 May 2007 21:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-14186</guid>
		<description>Hi, 

not that WP will replace some chars, check if the single and double quotes are the right one.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>not that WP will replace some chars, check if the single and double quotes are the right one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stelabouras</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-14185</link>
		<dc:creator>stelabouras</dc:creator>
		<pubDate>Wed, 16 May 2007 21:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-14185</guid>
		<description>

when I enter this the php script 

&lt;code&gt;&quot;/src=[&quot;&#039;]?([^&quot;&#039;]?.*(png&#124;jpg&#124;gif))[&quot;&#039;]?/i&quot;&lt;/code&gt;

prints the following error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING 

What I am writing wrong?</description>
		<content:encoded><![CDATA[<p>when I enter this the php script </p>
<p><code>"/src=["']?([^"']?.*(png|jpg|gif))["']?/i"</code></p>
<p>prints the following error:</p>
<p>Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING </p>
<p>What I am writing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olaf</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-6100</link>
		<dc:creator>Olaf</dc:creator>
		<pubDate>Tue, 20 Mar 2007 20:16:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-6100</guid>
		<description>@geredfds,

this is about 3 short rows of code...?

just replace the single and double quotes using your keyboard.</description>
		<content:encoded><![CDATA[<p>@geredfds,</p>
<p>this is about 3 short rows of code&#8230;?</p>
<p>just replace the single and double quotes using your keyboard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: geredfds</title>
		<link>http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/comment-page-1/#comment-6093</link>
		<dc:creator>geredfds</dc:creator>
		<pubDate>Tue, 20 Mar 2007 19:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.web-development-blog.com/archives/parse-html-with-preg_match_all/#comment-6093</guid>
		<description>Hi, can you post a plaintext version of this code? The formatting of your quotes seems to be stopping it working?</description>
		<content:encoded><![CDATA[<p>Hi, can you post a plaintext version of this code? The formatting of your quotes seems to be stopping it working?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
