<?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: RegEx: Link not beginning with http://</title>
	<atom:link href="http://www.mdgart.com/2009/01/23/regex-link-not-beginning-with-http/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mdgart.com/2009/01/23/regex-link-not-beginning-with-http/</link>
	<description>Art &#38; Programming</description>
	<lastBuildDate>Tue, 06 Apr 2010 07:52:04 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nicola Brath</title>
		<link>http://www.mdgart.com/2009/01/23/regex-link-not-beginning-with-http/comment-page-1/#comment-73</link>
		<dc:creator>Nicola Brath</dc:creator>
		<pubDate>Wed, 17 Mar 2010 14:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mdgart.com/?p=3#comment-73</guid>
		<description>I adore your site greatly. Will read more. Keep up to great posting on it. Thank you</description>
		<content:encoded><![CDATA[<p>I adore your site greatly. Will read more. Keep up to great posting on it. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boray Eris</title>
		<link>http://www.mdgart.com/2009/01/23/regex-link-not-beginning-with-http/comment-page-1/#comment-56</link>
		<dc:creator>Boray Eris</dc:creator>
		<pubDate>Tue, 29 Sep 2009 00:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mdgart.com/?p=3#comment-56</guid>
		<description>Here is a function that I made.&lt;br&gt;&lt;br&gt;function make_www_link($textvar){&lt;br&gt;    $patterns=&#039;/(^&#124;[strn])((www.)+[wd:#@%/;$()~_?+-=\.&amp;]*)/i&#039;;&lt;br&gt;    $replacements=&#039;$1&lt;a href=&quot;http://$2&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;$2&lt;/a&gt;&#039;;&lt;br&gt;    $link=preg_replace($patterns,$replacements,$textvar);&lt;br&gt;    return $link;&lt;br&gt;}</description>
		<content:encoded><![CDATA[<p>Here is a function that I made.</p>
<p>function make_www_link($textvar){<br />    $patterns=&#39;/(^|[strn])((www.)+[wd:#@%/;$()~_?+-=\.&#038;]*)/i&#39;;<br />    $replacements=&#39;$1<a href="http://$2" target="_blank" rel="nofollow">$2</a>&#39;;<br />    $link=preg_replace($patterns,$replacements,$textvar);<br />    return $link;<br />}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
