<?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/regex</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 03:29:09 GMT</pubDate>
<item>
<title>(Regular Expression) Regex Leading and Trailing Whitespace - Pavonz</title>
<link>http://snipplr.com/view/70938/regex-leading-and-trailing-whitespace/</link>
<description><![CDATA[ <p>Leading and Trailing Whitespace</p> ]]></description>
<pubDate>Fri, 26 Apr 2013 15:59:40 GMT</pubDate>
<guid>http://snipplr.com/view/70938/regex-leading-and-trailing-whitespace/</guid>
</item>
<item>
<title>(Regular Expression) Remove Non Errors from Logs - gamerzfuse</title>
<link>http://snipplr.com/view/70815/remove-non-errors-from-logs/</link>
<description><![CDATA[ <p>Removes any lines from the file that don't start with "ERROR"</p> ]]></description>
<pubDate>Tue, 16 Apr 2013 23:43:43 GMT</pubDate>
<guid>http://snipplr.com/view/70815/remove-non-errors-from-logs/</guid>
</item>
<item>
<title>(Regular Expression) Remove comments in code - XtreamIT</title>
<link>http://snipplr.com/view/69755/remove-comments-in-code/</link>
<description><![CDATA[ <p>It removes all standard C-style comments(/* 1-n */) and all single line comments("//"). Greedy matching.</p> ]]></description>
<pubDate>Sat, 02 Feb 2013 01:59:21 GMT</pubDate>
<guid>http://snipplr.com/view/69755/remove-comments-in-code/</guid>
</item>
<item>
<title>(Regular Expression) Oracle Regex Strip Tags - geekzspot</title>
<link>http://snipplr.com/view/68963/oracle-regex-strip-tags/</link>
<description><![CDATA[ <p>Regular Expression to strip Tags such as HTML XML</p> ]]></description>
<pubDate>Wed, 05 Dec 2012 08:37:54 GMT</pubDate>
<guid>http://snipplr.com/view/68963/oracle-regex-strip-tags/</guid>
</item>
<item>
<title>(Regular Expression) Regular Expression for Matching URLs with or without http(s) - brandonjp</title>
<link>http://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https/</link>
<description><![CDATA[ <p>thanks to... 
http://gskinner.com/RegExr/
http://daringfireball.net/2010/07/improved_regex_for_matching_urls</p> ]]></description>
<pubDate>Tue, 13 Nov 2012 07:34:18 GMT</pubDate>
<guid>http://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https/</guid>
</item>
<item>
<title>(Regular Expression) Domain Regex - typomatic</title>
<link>http://snipplr.com/view/67095/domain-regex/</link>
<description><![CDATA[ <p>Regular expression to pull the domain from a URL.</p> ]]></description>
<pubDate>Sat, 08 Sep 2012 02:51:55 GMT</pubDate>
<guid>http://snipplr.com/view/67095/domain-regex/</guid>
</item>
<item>
<title>(Regular Expression) Non ASCII Regex - pumpkinthehead</title>
<link>http://snipplr.com/view/66842/non-ascii-regex/</link>
<description><![CDATA[ <p>A regular expression to find non-ASCII characters.</p> ]]></description>
<pubDate>Wed, 22 Aug 2012 07:08:41 GMT</pubDate>
<guid>http://snipplr.com/view/66842/non-ascii-regex/</guid>
</item>
<item>
<title>(Regular Expression) Hexadecimal color regex match - guilhermehn</title>
<link>http://snipplr.com/view/65915/hexadecimal-color-regex-match/</link>
<description><![CDATA[ <p>Regex code to match hexadecimal colors</p> ]]></description>
<pubDate>Tue, 03 Jul 2012 07:04:53 GMT</pubDate>
<guid>http://snipplr.com/view/65915/hexadecimal-color-regex-match/</guid>
</item>
<item>
<title>(Regular Expression) Regular Expressions List - yalin2</title>
<link>http://snipplr.com/view/65176/regular-expressions-list/</link>
<description><![CDATA[ <p>List of useful Regular Expressions</p> ]]></description>
<pubDate>Fri, 25 May 2012 03:20:30 GMT</pubDate>
<guid>http://snipplr.com/view/65176/regular-expressions-list/</guid>
</item>
<item>
<title>(Regular Expression) Regular expression for smalldatetime in SQL - lance</title>
<link>http://snipplr.com/view/64819/regular-expression-for-smalldatetime-in-sql/</link>
<description><![CDATA[ <p>This only constraint here for smalldatetime is the year which allows 1900-2079. This does allow normal months and days so you could go outside the smalldatetime since that allows only 1/1/1900-6/6/2079.</p> ]]></description>
<pubDate>Tue, 08 May 2012 23:05:30 GMT</pubDate>
<guid>http://snipplr.com/view/64819/regular-expression-for-smalldatetime-in-sql/</guid>
</item>
<item>
<title>(Regular Expression) regex to refactor elseif block to select case format - pflangan</title>
<link>http://snipplr.com/view/64085/regex-to-refactor-elseif-block-to-select-case-format/</link>
<description><![CDATA[ <p>Requirement from work was to refactor an 8000 line if elseif code block to select case syntax. Not a manual task, even for a 1984 olympics button bashing champ.

note, id is the test variable here, 
as in
elseif (id ="test") then ...</p> ]]></description>
<pubDate>Thu, 22 Mar 2012 03:08:13 GMT</pubDate>
<guid>http://snipplr.com/view/64085/regex-to-refactor-elseif-block-to-select-case-format/</guid>
</item>
<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>(Regular Expression) Remove Blank Lines in VI/VIM - jasonpottergmailcom</title>
<link>http://snipplr.com/view/62758/remove-blank-lines-in-vivim/</link>
<description><![CDATA[ <p>Here is a common Regex I use to remove all blank lines in a file using VIM</p> ]]></description>
<pubDate>Wed, 25 Jan 2012 02:24:54 GMT</pubDate>
<guid>http://snipplr.com/view/62758/remove-blank-lines-in-vivim/</guid>
</item>
<item>
<title>(Regular Expression) Find a string while ignoring another string - joshuamil</title>
<link>http://snipplr.com/view/61135/find-a-string-while-ignoring-another-string/</link>
<description><![CDATA[ <p>Finds a string that doesn't contain another string. For example, find the text FOO_* that isn't FOO_BAR.</p> ]]></description>
<pubDate>Thu, 24 Nov 2011 03:06:41 GMT</pubDate>
<guid>http://snipplr.com/view/61135/find-a-string-while-ignoring-another-string/</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>(Regular Expression) Joomla 301 redirect for all pages - kristapslazda</title>
<link>http://snipplr.com/view/59440/joomla-301-redirect-for-all-pages/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 05 Oct 2011 20:21:25 GMT</pubDate>
<guid>http://snipplr.com/view/59440/joomla-301-redirect-for-all-pages/</guid>
</item>
<item>
<title>(Regular Expression) RegExp for search-replaceing css-urls from url(asdf.bc) to url('images/asdf.bc') - abstraktor</title>
<link>http://snipplr.com/view/58984/regexp-for-searchreplaceing-cssurls-from-urlasdfbc-to-urlimagesasdfbc/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 22 Sep 2011 20:15:14 GMT</pubDate>
<guid>http://snipplr.com/view/58984/regexp-for-searchreplaceing-cssurls-from-urlasdfbc-to-urlimagesasdfbc/</guid>
</item>
<item>
<title>(Regular Expression) Check if Email is proper - Celdatari</title>
<link>http://snipplr.com/view/57550/check-if-email-is-proper/</link>
<description><![CDATA[ <p>For ApogeeInvent Codebase only</p> ]]></description>
<pubDate>Wed, 03 Aug 2011 09:27:32 GMT</pubDate>
<guid>http://snipplr.com/view/57550/check-if-email-is-proper/</guid>
</item>
<item>
<title>(Regular Expression) find valid base64 string in php files - mohamedazher</title>
<link>http://snipplr.com/view/57477/find-valid-base64-string-in-php-files/</link>
<description><![CDATA[ <p>Find valid base64 strings in php files using this regex</p> ]]></description>
<pubDate>Mon, 01 Aug 2011 20:33:07 GMT</pubDate>
<guid>http://snipplr.com/view/57477/find-valid-base64-string-in-php-files/</guid>
</item>
<item>
<title>(Regular Expression) Strip Code Line Spaces - mantosz</title>
<link>http://snipplr.com/view/57466/strip-code-line-spaces/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Aug 2011 17:13:38 GMT</pubDate>
<guid>http://snipplr.com/view/57466/strip-code-line-spaces/</guid>
</item>
</channel>
</rss>