<?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/tags/regex</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Feb 2012 18:20:05 GMT</pubDate>
<item>
<title>(Regular Expression) Match all non-printing characters (excluding EOL chars) - oobleck</title>
<link>http://snipplr.com/view/62782/match-all-nonprinting-characters-excluding-eol-chars/</link>
<description><![CDATA[ <p>This regex captures non-printing characters (specifically those found when copying text from Photoshop). It's not fully tested, but it worked for me when I needed it. I will add to it as necessary.</p> ]]></description>
<pubDate>Thu, 26 Jan 2012 08:52:24 GMT</pubDate>
<guid>http://snipplr.com/view/62782/match-all-nonprinting-characters-excluding-eol-chars/</guid>
</item>
<item>
<title>(JavaScript) Flexible JavaScript Date Validation w/ Regex - pumpkinthehead</title>
<link>http://snipplr.com/view/62670/flexible-javascript-date-validation-w-regex/</link>
<description><![CDATA[ <p>Find the date with or without a year and with double or single digit month or day.  Easily extendable to other date delimiters and formats.</p> ]]></description>
<pubDate>Fri, 20 Jan 2012 11:19:14 GMT</pubDate>
<guid>http://snipplr.com/view/62670/flexible-javascript-date-validation-w-regex/</guid>
</item>
<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>(Regular Expression) Regex for HTML Tag Replacements - beneberle</title>
<link>http://snipplr.com/view/59704/regex-for-html-tag-replacements/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Oct 2011 01:36:14 GMT</pubDate>
<guid>http://snipplr.com/view/59704/regex-for-html-tag-replacements/</guid>
</item>
<item>
<title>(jQuery) Take out decimal for Yen Currency - cpres</title>
<link>http://snipplr.com/view/59550/take-out-decimal-for-yen-currency/</link>
<description><![CDATA[ <p>Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway!

This code looks for the Yen since within a  and if it has the yen which is uFFE5 to a browser, it replace the .00 with nothing.</p> ]]></description>
<pubDate>Sat, 08 Oct 2011 05:44:00 GMT</pubDate>
<guid>http://snipplr.com/view/59550/take-out-decimal-for-yen-currency/</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>(JavaScript) Remove blank lines - devnull69</title>
<link>http://snipplr.com/view/57833/remove-blank-lines/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Aug 2011 20:09:37 GMT</pubDate>
<guid>http://snipplr.com/view/57833/remove-blank-lines/</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>(ActionScript 3) AS3 Remove namespace from XML - adrianparr</title>
<link>http://snipplr.com/view/56876/as3-remove-namespace-from-xml/</link>
<description><![CDATA[ <p>If you don't deal with namespaces in XML correctly they can break your parsing in AS3. One way of getting around this is to remove the namespace from the XML a using regular expression.</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 00:29:08 GMT</pubDate>
<guid>http://snipplr.com/view/56876/as3-remove-namespace-from-xml/</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>(Windows PowerShell) Delete files in a directory tree matching a regex - jarnaldich</title>
<link>http://snipplr.com/view/56129/delete-files-in-a-directory-tree-matching-a-regex/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 05 Jul 2011 16:42:18 GMT</pubDate>
<guid>http://snipplr.com/view/56129/delete-files-in-a-directory-tree-matching-a-regex/</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>(JavaScript) Javascript RegEx Repetition Limiting - simondiercks</title>
<link>http://snipplr.com/view/55086/javascript-regex-repetition-limiting/</link>
<description><![CDATA[ <p>{min,max}</p> ]]></description>
<pubDate>Thu, 09 Jun 2011 19:18:02 GMT</pubDate>
<guid>http://snipplr.com/view/55086/javascript-regex-repetition-limiting/</guid>
</item>
<item>
<title>(Regular Expression) Comprehensive date validation regex pattern - shodan_uk</title>
<link>http://snipplr.com/view/52865/comprehensive-date-validation-regex-pattern/</link>
<description><![CDATA[ <p>Ridiculously comprehensive date validation regex - matches dd/mm/yyyy or dd/mm/yy.

Also correctly matches number of days in months. ie. it won't match 30th Feb...</p> ]]></description>
<pubDate>Mon, 02 May 2011 06:25:46 GMT</pubDate>
<guid>http://snipplr.com/view/52865/comprehensive-date-validation-regex-pattern/</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>(Bash) Linux shell replace string - Risse</title>
<link>http://snipplr.com/view/51149/linux-shell-replace-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Mar 2011 06:52:40 GMT</pubDate>
<guid>http://snipplr.com/view/51149/linux-shell-replace-string/</guid>
</item>
<item>
<title>(ActionScript 3) Twitter Tweet String Encode Entity Utility - ninjaparade</title>
<link>http://snipplr.com/view/50732/twitter-tweet-string-encode-entity-utility/</link>
<description><![CDATA[ <p>Encode a Tweet from a Twitter search query wrapping all hash tags, user names and urls with herf entities with one function call</p> ]]></description>
<pubDate>Wed, 16 Mar 2011 15:40:59 GMT</pubDate>
<guid>http://snipplr.com/view/50732/twitter-tweet-string-encode-entity-utility/</guid>
</item>
</channel>
</rss>
