<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/regex</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 08:06:43 GMT</pubDate>
<item>
<title>(PHP) Get YouTube Video ID [Very robust] - jmiller</title>
<link>http://snipplr.com/view/62238/get-youtube-video-id-very-robust/</link>
<description><![CDATA[ <p>This will get the 11-character YouTube video ID from any valid YouTube URL.

Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs</p> ]]></description>
<pubDate>Tue, 03 Jan 2012 17:17:29 GMT</pubDate>
<guid>http://snipplr.com/view/62238/get-youtube-video-id-very-robust/</guid>
</item>
<item>
<title>(PHP) Loop through $_REQUEST matching a parameter starting xxxxxx..... - flatearthcomms</title>
<link>http://snipplr.com/view/60834/loop-through-request-matching-a-parameter-starting-xxxxxx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 15 Nov 2011 07:48:29 GMT</pubDate>
<guid>http://snipplr.com/view/60834/loop-through-request-matching-a-parameter-starting-xxxxxx/</guid>
</item>
<item>
<title>(PHP) Clean User Submitted URL's - Entherman</title>
<link>http://snipplr.com/view/58063/clean-user-submitted-urls/</link>
<description><![CDATA[ <p>Useful when using user-submitted URLs</p> ]]></description>
<pubDate>Sun, 21 Aug 2011 01:35:35 GMT</pubDate>
<guid>http://snipplr.com/view/58063/clean-user-submitted-urls/</guid>
</item>
<item>
<title>(PHP) Extract Body - vitruvo</title>
<link>http://snipplr.com/view/57535/extract-body/</link>
<description><![CDATA[ <p>Easily extract the Content from a HTML Page with this tiny function.</p> ]]></description>
<pubDate>Wed, 03 Aug 2011 00:33:29 GMT</pubDate>
<guid>http://snipplr.com/view/57535/extract-body/</guid>
</item>
<item>
<title>(PHP) Regex Trim Whitespace - resting</title>
<link>http://snipplr.com/view/57115/regex-trim-whitespace/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 25 Jul 2011 17:40:05 GMT</pubDate>
<guid>http://snipplr.com/view/57115/regex-trim-whitespace/</guid>
</item>
<item>
<title>(PHP) Replace URLs with links - PHP - plesh</title>
<link>http://snipplr.com/view/56479/replace-urls-with-links--php/</link>
<description><![CDATA[ <p>A really handy snippet that will replace textual URLs with HTML links.

Also works for email addresses.</p> ]]></description>
<pubDate>Tue, 12 Jul 2011 22:37:53 GMT</pubDate>
<guid>http://snipplr.com/view/56479/replace-urls-with-links--php/</guid>
</item>
<item>
<title>(PHP) Activate Links in String PHP - nebojsac</title>
<link>http://snipplr.com/view/55209/activate-links-in-string-php/</link>
<description><![CDATA[ <p>Returns the same string, except with links wrapped in  tags. Works on www.snipplr.com and on http://snipplr.com

A variation of the script on the attached URL.</p> ]]></description>
<pubDate>Mon, 13 Jun 2011 21:58:01 GMT</pubDate>
<guid>http://snipplr.com/view/55209/activate-links-in-string-php/</guid>
</item>
<item>
<title>(PHP) Email Validation PHP Regex - nebojsac</title>
<link>http://snipplr.com/view/55133/email-validation-php-regex/</link>
<description><![CDATA[ <p>Full email validation with regex.</p> ]]></description>
<pubDate>Fri, 10 Jun 2011 23:06:51 GMT</pubDate>
<guid>http://snipplr.com/view/55133/email-validation-php-regex/</guid>
</item>
<item>
<title>(PHP) youtube url video id - KabuqueJoe</title>
<link>http://snipplr.com/view/52335/youtube-url-video-id/</link>
<description><![CDATA[ <p>Returns the video id for any type of youtube url that holds one.</p> ]]></description>
<pubDate>Wed, 20 Apr 2011 00:46:34 GMT</pubDate>
<guid>http://snipplr.com/view/52335/youtube-url-video-id/</guid>
</item>
<item>
<title>(PHP) Regular Expression for URLs using ereg_replace - adampatterson</title>
<link>http://snipplr.com/view/48594/regular-expression-for-urls-using-eregreplace/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 08 Feb 2011 15:33:35 GMT</pubDate>
<guid>http://snipplr.com/view/48594/regular-expression-for-urls-using-eregreplace/</guid>
</item>
<item>
<title>(PHP) regular expression examples - metoikos</title>
<link>http://snipplr.com/view/46951/regular-expression-examples/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Jan 2011 02:40:52 GMT</pubDate>
<guid>http://snipplr.com/view/46951/regular-expression-examples/</guid>
</item>
<item>
<title>(PHP) Youtube ID extractor - jhonqwerty</title>
<link>http://snipplr.com/view/42276/youtube-id-extractor/</link>
<description><![CDATA[ <p>Youtube ID simple extractor</p> ]]></description>
<pubDate>Thu, 14 Oct 2010 22:29:58 GMT</pubDate>
<guid>http://snipplr.com/view/42276/youtube-id-extractor/</guid>
</item>
<item>
<title>(PHP) exploding a string by line breaks accounting for cross platform - thiswayup</title>
<link>http://snipplr.com/view/42145/exploding-a-string-by-line-breaks-accounting-for-cross-platform/</link>
<description><![CDATA[ <p>useful in conjunction  with curl and examining headers</p> ]]></description>
<pubDate>Wed, 13 Oct 2010 01:10:23 GMT</pubDate>
<guid>http://snipplr.com/view/42145/exploding-a-string-by-line-breaks-accounting-for-cross-platform/</guid>
</item>
<item>
<title>(PHP) Remove Non Numeric Characters - traeregan</title>
<link>http://snipplr.com/view/40644/remove-non-numeric-characters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Sep 2010 12:48:08 GMT</pubDate>
<guid>http://snipplr.com/view/40644/remove-non-numeric-characters/</guid>
</item>
<item>
<title>(PHP) Check Number - jamepaul</title>
<link>http://snipplr.com/view/40095/check-number/</link>
<description><![CDATA[ <p>I want to get only number from user it does not start with zero.
I think it's not perfect but works for me.</p> ]]></description>
<pubDate>Tue, 07 Sep 2010 20:47:20 GMT</pubDate>
<guid>http://snipplr.com/view/40095/check-number/</guid>
</item>
<item>
<title>(PHP) Youtube Video ID Regex &amp;amp; PHP Function - Jamie</title>
<link>http://snipplr.com/view/38481/youtube-video-id-regex--php-function/</link>
<description><![CDATA[ <p>I\'ve added an additional case to handle videos linked from a user\'s channel.</p> ]]></description>
<pubDate>Thu, 05 Aug 2010 03:09:42 GMT</pubDate>
<guid>http://snipplr.com/view/38481/youtube-video-id-regex--php-function/</guid>
</item>
<item>
<title>(PHP) Improvement of URL interpretation with regex - keevkilla</title>
<link>http://snipplr.com/view/36992/improvement-of-url-interpretation-with-regex/</link>
<description><![CDATA[ <p>A source to help you interpreting URLs in plain text as a HTML link. It's an improvement of what was proposed here : http://snipplr.com/view/2371/regex-regular-expression-to-match-a-url/</p> ]]></description>
<pubDate>Fri, 09 Jul 2010 09:56:43 GMT</pubDate>
<guid>http://snipplr.com/view/36992/improvement-of-url-interpretation-with-regex/</guid>
</item>
<item>
<title>(PHP) php text to link - metoikos</title>
<link>http://snipplr.com/view/35725/php-text-to-link/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jun 2010 14:02:37 GMT</pubDate>
<guid>http://snipplr.com/view/35725/php-text-to-link/</guid>
</item>
<item>
<title>(PHP) Get Apache Version and other installed software versions as associative array - naz</title>
<link>http://snipplr.com/view/33376/get-apache-version-and-other-installed-software-versions-as-associative-array/</link>
<description><![CDATA[ <p>this function return associative array from SERVER_SOFTWARE</p> ]]></description>
<pubDate>Tue, 27 Apr 2010 16:03:26 GMT</pubDate>
<guid>http://snipplr.com/view/33376/get-apache-version-and-other-installed-software-versions-as-associative-array/</guid>
</item>
<item>
<title>(PHP) Validate Time - pythox</title>
<link>http://snipplr.com/view/23007/validate-time/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 12 Nov 2009 09:23:07 GMT</pubDate>
<guid>http://snipplr.com/view/23007/validate-time/</guid>
</item>
</channel>
</rss>
