<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 03:32:07 +0000</lastBuildDate>
    <item>
      <title>(Regular Expression) Regular Expression - E-mail validation - cyrilfr</title>
      <link>https://snipplr.com/view/328099/regular-expression--email-validation</link>
      <description>&lt;p&gt;RFC 5322 compliant regex&lt;/p&gt;</description>
      <pubDate>Sat, 09 Jun 2018 04:58:08 UTC</pubDate>
      <guid>https://snipplr.com/view/328099/regular-expression--email-validation</guid>
    </item>
    <item>
      <title>(Windows PowerShell) PowerShell: Rename directory items by regex - evito</title>
      <link>https://snipplr.com/view/256682/powershell-rename-directory-items-by-regex</link>
      <description>&lt;p&gt;Renames all the files in the working directory from given regex pattern, in this case removes a series of digits (e.g. \_0004\_) that Photoshop appends when exporting layers.&lt;/p&gt;</description>
      <pubDate>Tue, 01 Nov 2016 11:15:04 UTC</pubDate>
      <guid>https://snipplr.com/view/256682/powershell-rename-directory-items-by-regex</guid>
    </item>
    <item>
      <title>(Regular Expression) GetIP &amp; GetIPPort Regex - dbiesecke</title>
      <link>https://snipplr.com/view/147201/getip--getipport-regex</link>
      <description>&lt;p&gt;* Usefull as shell command and everyting else&#13;
`get-ip='egrep -o "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}"'`&#13;
`get-ipport='egrep -o "[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4}[0-9 :]+" | sed -e "s/ //g"'`&lt;/p&gt;</description>
      <pubDate>Tue, 28 Jun 2016 05:59:31 UTC</pubDate>
      <guid>https://snipplr.com/view/147201/getip--getipport-regex</guid>
    </item>
    <item>
      <title>(Regular Expression) regex_identityiq_remove-element-created - jstrange</title>
      <link>https://snipplr.com/view/145651/regexidentityiqremoveelementcreated</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 07 Jan 2016 21:39:32 UTC</pubDate>
      <guid>https://snipplr.com/view/145651/regexidentityiqremoveelementcreated</guid>
    </item>
    <item>
      <title>(Regular Expression) regex_identityiq_remove-element-id - jstrange</title>
      <link>https://snipplr.com/view/145650/regexidentityiqremoveelementid</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 07 Jan 2016 21:38:40 UTC</pubDate>
      <guid>https://snipplr.com/view/145650/regexidentityiqremoveelementid</guid>
    </item>
    <item>
      <title>(XML) regex_identityiq_remove-element-modified - jstrange</title>
      <link>https://snipplr.com/view/145649/regexidentityiqremoveelementmodified</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 07 Jan 2016 21:35:39 UTC</pubDate>
      <guid>https://snipplr.com/view/145649/regexidentityiqremoveelementmodified</guid>
    </item>
    <item>
      <title>(Regular Expression) RegExp to find JS &amp; Angular non-comment logs - brandonjp</title>
      <link>https://snipplr.com/view/145321/regexp-to-find-js--angular-noncomment-logs</link>
      <description>&lt;p&gt;Regular Expression to find native Javascript console and AngularJS $log log warn or info that are NOT comments / commented out&lt;/p&gt;</description>
      <pubDate>Fri, 11 Dec 2015 06:47:32 UTC</pubDate>
      <guid>https://snipplr.com/view/145321/regexp-to-find-js--angular-noncomment-logs</guid>
    </item>
    <item>
      <title>(Perl) RegEx string substitution - bvwatson</title>
      <link>https://snipplr.com/view/101208/regex-string-substitution</link>
      <description>&lt;p&gt;[The original problem was stated as a SQL (SQL Server 2008) problem. This Perl script demonstrates the desired outcome for the problem statement.]&#13;
&#13;
PROBLEM STATEMENT:&#13;
&#13;
Please help me with SQL Query and requirement is as below: &#13;
&#13;
Below is the Data and I have to remove all texts associated with numbers. If incase in between LETTERS if we see number or numbers, those also should be removed, for ex:A2D104380, here A2D should be removed, others only letters. &#13;
&#13;
Field_Name &#13;
&#13;
AS76573 &#13;
&#13;
AEDFG103020 &#13;
&#13;
A2D104380 &#13;
&#13;
S103282&#13;
&#13;
To add to your point. &#13;
&#13;
Yes you are correct but gain if exists number and again followed by any &#13;
letters then number also should be removed. &#13;
&#13;
For ex: ASD6D6383884 &#13;
&#13;
Here ASD6D should be removed. &#13;
GH63737. Here only GH should be removed &#13;
&#13;
SOLUTION RESULTS:&#13;
&#13;
Word 1 = AS76573 -&gt; 76573&#13;
&#13;
Word 2 = AEDFG103020 -&gt; 103020&#13;
&#13;
Word 3 = A2D104380 -&gt; 104380&#13;
&#13;
Word 4 = S103282 -&gt; 103282&#13;
&#13;
Word 5 = ASD6D6383884 -&gt; 6383884&#13;
&#13;
Word 6 = GH63737 -&gt; 63737&#13;
&#13;
Word 7 = AS76573AEDFG103020A2D104380S103282ASD6D6383884GH63737 -&gt; 76573103020104380103282638388463737&lt;/p&gt;</description>
      <pubDate>Thu, 28 May 2015 10:49:24 UTC</pubDate>
      <guid>https://snipplr.com/view/101208/regex-string-substitution</guid>
    </item>
    <item>
      <title>(Visual Basic) StripCharacters - BDOGG32</title>
      <link>https://snipplr.com/view/95657/stripcharacters</link>
      <description>&lt;p&gt;Uses regular expressions to do string manipulation.  Enter a regular expression into the required parameter and what you want the manipulation to do and it will process the string manipulation.  For example if A1 contains John Doe1, Jane Doe2, John Wayne3 and you wanted to strip all the numbers out of it you could enter this formula:  =RegexReplace(I22,"[^a-zA-Z, ]", "").  This strips all characters that are not a through z or a comma or space.  Since all numbers are not in there then it removes them.  If you wanted to strip out all alpha characters and leave only the numbers it would look like:  =RegexReplace(I22,"[^1-9, ]", "")&lt;/p&gt;</description>
      <pubDate>Wed, 01 Apr 2015 09:14:22 UTC</pubDate>
      <guid>https://snipplr.com/view/95657/stripcharacters</guid>
    </item>
    <item>
      <title>(PHP) Search and returns the first results on a regex search - jatubio</title>
      <link>https://snipplr.com/view/91093/search-and-returns-the-first-results-on-a-regex-search</link>
      <description>&lt;p&gt;Search and returns the first results on a regex search&#13;
If we use parenthesized or subpattern, can return with $result_number&lt;/p&gt;</description>
      <pubDate>Sat, 21 Feb 2015 11:34:51 UTC</pubDate>
      <guid>https://snipplr.com/view/91093/search-and-returns-the-first-results-on-a-regex-search</guid>
    </item>
    <item>
      <title>(PHP) Create a regex expression with operator 'AND' - jatubio</title>
      <link>https://snipplr.com/view/91092/create-a-regex-expression-with-operator-and</link>
      <description>&lt;p&gt;Build a regex expression to all array elements are present in any order.&#13;
Gets an array of strings (Sample: array("Access Denied","error","could not be retrieved")&#13;
Return sample: '(?=.*Access Denied)(?=.*error)(?=.*could not be retrieved)&lt;/p&gt;</description>
      <pubDate>Sat, 21 Feb 2015 09:49:24 UTC</pubDate>
      <guid>https://snipplr.com/view/91092/create-a-regex-expression-with-operator-and</guid>
    </item>
    <item>
      <title>(PHP) // Search multiple spaces with regex expressions - jatubio</title>
      <link>https://snipplr.com/view/91051/-search-multiple-spaces-with-regex-expressions</link>
      <description>&lt;p&gt;Replaces spaces by '\s+' which means one or more spaces&#13;
$string can be one string or one array of strings&lt;/p&gt;</description>
      <pubDate>Sat, 21 Feb 2015 07:35:20 UTC</pubDate>
      <guid>https://snipplr.com/view/91051/-search-multiple-spaces-with-regex-expressions</guid>
    </item>
    <item>
      <title>(Python) Get all links from a website - tionazo</title>
      <link>https://snipplr.com/view/84940/get-all-links-from-a-website</link>
      <description>&lt;p&gt;Get all links from a website &#13;
from: http://www.pythonforbeginners.com/code/regular-expression-re-findall&lt;/p&gt;</description>
      <pubDate>Fri, 26 Dec 2014 08:33:28 UTC</pubDate>
      <guid>https://snipplr.com/view/84940/get-all-links-from-a-website</guid>
    </item>
    <item>
      <title>(ColdFusion) email address validation - dreamstarter</title>
      <link>https://snipplr.com/view/77373/email-address-validation</link>
      <description>&lt;p&gt;I simple find to validate a user email address.&lt;/p&gt;</description>
      <pubDate>Fri, 12 Sep 2014 00:24:36 UTC</pubDate>
      <guid>https://snipplr.com/view/77373/email-address-validation</guid>
    </item>
    <item>
      <title>(PHP) Check University Email (.edu) - phpdev</title>
      <link>https://snipplr.com/view/72365/check-university-email-edu</link>
      <description>&lt;p&gt;**Example of use:**&#13;
    &#13;
    if (!isUniversityEmail('you@post.harvard.edu'))&#13;
         exit('You must have a valid and .edu email address to register for an account.');&lt;/p&gt;</description>
      <pubDate>Sat, 14 Sep 2013 10:26:02 UTC</pubDate>
      <guid>https://snipplr.com/view/72365/check-university-email-edu</guid>
    </item>
    <item>
      <title>(Regular Expression) sqlSquirrel gerated date - juanalvarez9</title>
      <link>https://snipplr.com/view/72217/sqlsquirrel-gerated-date</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 28 Aug 2013 01:41:06 UTC</pubDate>
      <guid>https://snipplr.com/view/72217/sqlsquirrel-gerated-date</guid>
    </item>
    <item>
      <title>(PHP) PHP - Extract numbers from a string - satie83</title>
      <link>https://snipplr.com/view/71658/php--extract-numbers-from-a-string</link>
      <description>&lt;p&gt;I want to extract the numbers from a string that contains numbers and letters like&lt;/p&gt;</description>
      <pubDate>Fri, 28 Jun 2013 00:52:31 UTC</pubDate>
      <guid>https://snipplr.com/view/71658/php--extract-numbers-from-a-string</guid>
    </item>
    <item>
      <title>(Regular Expression) Regex Leading and Trailing Whitespace - Pavonz</title>
      <link>https://snipplr.com/view/70938/regex-leading-and-trailing-whitespace</link>
      <description>&lt;p&gt;Leading and Trailing Whitespace&lt;/p&gt;</description>
      <pubDate>Fri, 26 Apr 2013 15:59:40 UTC</pubDate>
      <guid>https://snipplr.com/view/70938/regex-leading-and-trailing-whitespace</guid>
    </item>
    <item>
      <title>(Regular Expression) Remove Non Errors from Logs - gamerzfuse</title>
      <link>https://snipplr.com/view/70815/remove-non-errors-from-logs</link>
      <description>&lt;p&gt;Removes any lines from the file that don't start with "ERROR"&lt;/p&gt;</description>
      <pubDate>Tue, 16 Apr 2013 23:43:43 UTC</pubDate>
      <guid>https://snipplr.com/view/70815/remove-non-errors-from-logs</guid>
    </item>
    <item>
      <title>(JavaScript) email validation - dreamstarter</title>
      <link>https://snipplr.com/view/70726/email-validation</link>
      <description>&lt;p&gt;Use a regex to check the email address input&lt;/p&gt;</description>
      <pubDate>Tue, 09 Apr 2013 23:33:35 UTC</pubDate>
      <guid>https://snipplr.com/view/70726/email-validation</guid>
    </item>
    <item>
      <title>(C#) Ektron list based on taxonomy id - dego89</title>
      <link>https://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id</link>
      <description>&lt;p&gt;The following code retrieves a list of content based on a taxonomy id. The list is bound to a repeater that display a preview of the content with a quick link to a content page. The content comes in based on the previous taxonomy id but exposes a content list which can be used gather the html property's. Then I use a regex to take our specific nodes for the preview columns in my table.&lt;/p&gt;</description>
      <pubDate>Fri, 08 Mar 2013 02:23:00 UTC</pubDate>
      <guid>https://snipplr.com/view/70319/ektron-list-based-on-taxonomy-id</guid>
    </item>
    <item>
      <title>(Regular Expression) Remove comments in code - XtreamIT</title>
      <link>https://snipplr.com/view/69755/remove-comments-in-code</link>
      <description>&lt;p&gt;It removes all standard C-style comments(/* 1-n */) and all single line comments("//"). Greedy matching.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Feb 2013 01:59:21 UTC</pubDate>
      <guid>https://snipplr.com/view/69755/remove-comments-in-code</guid>
    </item>
    <item>
      <title>(C#) Regular expression : simple strong password - gaserland</title>
      <link>https://snipplr.com/view/69596/regular-expression--simple-strong-password</link>
      <description>&lt;p&gt;à¸•à¹‰à¸­à¸‡à¸¡à¸µà¸­à¸¢à¹ˆà¸²à¸‡à¸™à¹‰à¸­à¸¢ 8 à¸•à¸±à¸§à¸­à¸±à¸à¸©à¸£&#13;
à¸•à¹‰à¸­à¸‡à¸¡à¸µà¸•à¸±à¸§à¸­à¸±à¸à¸©à¸£à¸­à¸±à¸‡à¸à¸¤à¸©à¸•à¸±à¸§à¹€à¸¥à¹‡à¸ [a-z] à¹à¸¥à¸°à¸•à¸±à¸§à¹ƒà¸«à¸à¹ˆ[A-Z] à¸­à¸¢à¹ˆà¸²à¸‡à¸™à¹‰à¸­à¸¢à¸­à¸¢à¹ˆà¸²à¸‡à¸¥à¹ˆà¸° 1 à¸•à¸±à¸§&lt;/p&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:21:23 UTC</pubDate>
      <guid>https://snipplr.com/view/69596/regular-expression--simple-strong-password</guid>
    </item>
    <item>
      <title>(PHP) Regex Clipboard Class (Mini-Template Engine) - halk</title>
      <link>https://snipplr.com/view/68633/regex-clipboard-class-minitemplate-engine</link>
      <description>&lt;p&gt;https://gist.github.com/4098493&#13;
(examples of use below the class code)&#13;
This class allows you to load a file of snippets that are really mini-templates copy them from your repository fill the token slots in them the with your data and render them as part of the view.  See example below the code for the format of the snippet file.&lt;/p&gt;</description>
      <pubDate>Sun, 18 Nov 2012 08:23:12 UTC</pubDate>
      <guid>https://snipplr.com/view/68633/regex-clipboard-class-minitemplate-engine</guid>
    </item>
    <item>
      <title>(Regular Expression) Regular Expression for Matching URLs with or without http(s) - brandonjp</title>
      <link>https://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https</link>
      <description>&lt;p&gt;thanks to... &#13;
http://gskinner.com/RegExr/&#13;
http://daringfireball.net/2010/07/improved_regex_for_matching_urls&lt;/p&gt;</description>
      <pubDate>Tue, 13 Nov 2012 07:34:18 UTC</pubDate>
      <guid>https://snipplr.com/view/68530/regular-expression-for-matching-urls-with-or-without-https</guid>
    </item>
    <item>
      <title>(Bash) Bash exscript to replace word occurrences - symsec</title>
      <link>https://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences</link>
      <description>&lt;p&gt;As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 17:51:43 UTC</pubDate>
      <guid>https://snipplr.com/view/67844/bash-exscript-to-replace-word-occurrences</guid>
    </item>
    <item>
      <title>(Bash) Bash exscript to replace word occurrences - symsec</title>
      <link>https://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences</link>
      <description>&lt;p&gt;As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 17:51:06 UTC</pubDate>
      <guid>https://snipplr.com/view/67843/bash-exscript-to-replace-word-occurrences</guid>
    </item>
    <item>
      <title>(Regular Expression) Hexadecimal color regex match - guilhermehn</title>
      <link>https://snipplr.com/view/65915/hexadecimal-color-regex-match</link>
      <description>&lt;p&gt;Regex code to match hexadecimal colors&lt;/p&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:04:53 UTC</pubDate>
      <guid>https://snipplr.com/view/65915/hexadecimal-color-regex-match</guid>
    </item>
    <item>
      <title>(PHP) Remove superfluous line breaks between HTML elements. - pumpkinthehead</title>
      <link>https://snipplr.com/view/65826/remove-superfluous-line-breaks-between-html-elements</link>
      <description>&lt;p&gt;A regular expression for removing &lt;br&gt; and &lt;br&gt; (case insensitive) between HTML elements if there is no content between the HTML elements.  It was written for fixing extra line spaces created in a WordPress visual editor after the content of the visual editor was returned from the PHP nl2br() method.&lt;/p&gt;</description>
      <pubDate>Wed, 27 Jun 2012 08:18:51 UTC</pubDate>
      <guid>https://snipplr.com/view/65826/remove-superfluous-line-breaks-between-html-elements</guid>
    </item>
    <item>
      <title>(JavaScript) 10 Digit String to Phone Format - cpres</title>
      <link>https://snipplr.com/view/65672/10-digit-string-to-phone-format</link>
      <description>&lt;p&gt;Formats a 10-digit phone number into a good format (123) 555-1234&lt;/p&gt;</description>
      <pubDate>Sun, 17 Jun 2012 06:54:16 UTC</pubDate>
      <guid>https://snipplr.com/view/65672/10-digit-string-to-phone-format</guid>
    </item>
    <item>
      <title>(Perl) BBEdit text filter - increment value by one - page_lab</title>
      <link>https://snipplr.com/view/64990/bbedit-text-filter--increment-value-by-one</link>
      <description>&lt;p&gt;Text filter to increment numbers by one with regex in BBEdit (Mac only)&lt;/p&gt;</description>
      <pubDate>Tue, 22 May 2012 08:49:34 UTC</pubDate>
      <guid>https://snipplr.com/view/64990/bbedit-text-filter--increment-value-by-one</guid>
    </item>
    <item>
      <title>(Apache) .htaccess script to block remote access and allow local ip - aruldave</title>
      <link>https://snipplr.com/view/64941/htaccess-script-to-block-remote-access-and-allow-local-ip</link>
      <description>&lt;p&gt;The below code lets you stop access from the remote IPs excluding your local machine IP. This code can be setup where someone wants to provide an internal access and restricting the external access for the web service. &#13;
-  [Automated Predictive Dialler Software for Call Centres](http://touchstarccs.co.uk/ "Automated Predictive Dialler Software for Call Centres")&lt;/p&gt;</description>
      <pubDate>Fri, 18 May 2012 20:56:18 UTC</pubDate>
      <guid>https://snipplr.com/view/64941/htaccess-script-to-block-remote-access-and-allow-local-ip</guid>
    </item>
    <item>
      <title>(Regular Expression) regex to refactor elseif block to select case format - pflangan</title>
      <link>https://snipplr.com/view/64085/regex-to-refactor-elseif-block-to-select-case-format</link>
      <description>&lt;p&gt;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.&#13;
&#13;
note, id is the test variable here, &#13;
as in&#13;
elseif (id ="test") then ...&lt;/p&gt;</description>
      <pubDate>Thu, 22 Mar 2012 03:08:13 UTC</pubDate>
      <guid>https://snipplr.com/view/64085/regex-to-refactor-elseif-block-to-select-case-format</guid>
    </item>
    <item>
      <title>(PHP) Remove / Replace - href / anchor /link - in html /string - preg_replace - php - regex - regular expression - rwunsch</title>
      <link>https://snipplr.com/view/63981/remove--replace--href--anchor-link--in-html-string--pregreplace--php--regex--regular-expression</link>
      <description>&lt;p&gt;Replaces all links within href part of anchor in a HTML-String.&lt;/p&gt;</description>
      <pubDate>Sat, 17 Mar 2012 03:20:17 UTC</pubDate>
      <guid>https://snipplr.com/view/63981/remove--replace--href--anchor-link--in-html-string--pregreplace--php--regex--regular-expression</guid>
    </item>
    <item>
      <title>(Regular Expression) Match all non-printing characters (excluding EOL chars) - oobleck</title>
      <link>https://snipplr.com/view/62782/match-all-nonprinting-characters-excluding-eol-chars</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Thu, 26 Jan 2012 08:52:24 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/62670/flexible-javascript-date-validation-w-regex</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Fri, 20 Jan 2012 11:19:14 UTC</pubDate>
      <guid>https://snipplr.com/view/62670/flexible-javascript-date-validation-w-regex</guid>
    </item>
    <item>
      <title>(PHP) Get YouTube Video ID [Very robust] - jmiller</title>
      <link>https://snipplr.com/view/62238/get-youtube-video-id-very-robust</link>
      <description>&lt;p&gt;This will get the 11-character YouTube video ID from any valid YouTube URL.&#13;
&#13;
Based on http://snipplr.com/view/57065/get-youtube-video-id/ but made more robust to handle additional URL inputs&lt;/p&gt;</description>
      <pubDate>Tue, 03 Jan 2012 17:17:29 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/60834/loop-through-request-matching-a-parameter-starting-xxxxxx</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 15 Nov 2011 07:48:29 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/59704/regex-for-html-tag-replacements</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 13 Oct 2011 01:36:14 UTC</pubDate>
      <guid>https://snipplr.com/view/59704/regex-for-html-tag-replacements</guid>
    </item>
    <item>
      <title>(jQuery) Take out decimal for Yen Currency - cpres</title>
      <link>https://snipplr.com/view/59550/take-out-decimal-for-yen-currency</link>
      <description>&lt;p&gt;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!&#13;
&#13;
This code looks for the Yen since within a &lt;span&gt;&lt;/span&gt; and if it has the yen which is uFFE5 to a browser, it replace the .00 with nothing.&lt;/p&gt;</description>
      <pubDate>Sat, 08 Oct 2011 05:44:00 UTC</pubDate>
      <guid>https://snipplr.com/view/59550/take-out-decimal-for-yen-currency</guid>
    </item>
    <item>
      <title>(PHP) Clean User Submitted URL's - Entherman</title>
      <link>https://snipplr.com/view/58063/clean-user-submitted-urls</link>
      <description>&lt;p&gt;Useful when using user-submitted URLs&lt;/p&gt;</description>
      <pubDate>Sun, 21 Aug 2011 01:35:35 UTC</pubDate>
      <guid>https://snipplr.com/view/58063/clean-user-submitted-urls</guid>
    </item>
    <item>
      <title>(JavaScript) Remove blank lines - devnull69</title>
      <link>https://snipplr.com/view/57833/remove-blank-lines</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 15 Aug 2011 20:09:37 UTC</pubDate>
      <guid>https://snipplr.com/view/57833/remove-blank-lines</guid>
    </item>
    <item>
      <title>(PHP) Regex Trim Whitespace - resting</title>
      <link>https://snipplr.com/view/57115/regex-trim-whitespace</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 25 Jul 2011 17:40:05 UTC</pubDate>
      <guid>https://snipplr.com/view/57115/regex-trim-whitespace</guid>
    </item>
    <item>
      <title>(ActionScript 3) AS3 Remove namespace from XML - adrianparr</title>
      <link>https://snipplr.com/view/56876/as3-remove-namespace-from-xml</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Wed, 20 Jul 2011 00:29:08 UTC</pubDate>
      <guid>https://snipplr.com/view/56876/as3-remove-namespace-from-xml</guid>
    </item>
    <item>
      <title>(PHP) Replace URLs with links - PHP - plesh</title>
      <link>https://snipplr.com/view/56479/replace-urls-with-links--php</link>
      <description>&lt;p&gt;A really handy snippet that will replace textual URLs with HTML links.&#13;
&#13;
Also works for email addresses.&lt;/p&gt;</description>
      <pubDate>Tue, 12 Jul 2011 22:37:53 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/56129/delete-files-in-a-directory-tree-matching-a-regex</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 05 Jul 2011 16:42:18 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/55209/activate-links-in-string-php</link>
      <description>&lt;p&gt;Returns the same string, except with links wrapped in &lt;a href=""&gt; tags. Works on www.snipplr.com and on http://snipplr.com&#13;
&#13;
A variation of the script on the attached URL.&lt;/p&gt;</description>
      <pubDate>Mon, 13 Jun 2011 21:58:01 UTC</pubDate>
      <guid>https://snipplr.com/view/55209/activate-links-in-string-php</guid>
    </item>
    <item>
      <title>(PHP) Email Validation PHP Regex - nebojsac</title>
      <link>https://snipplr.com/view/55133/email-validation-php-regex</link>
      <description>&lt;p&gt;Full email validation with regex.&lt;/p&gt;</description>
      <pubDate>Fri, 10 Jun 2011 23:06:51 UTC</pubDate>
      <guid>https://snipplr.com/view/55133/email-validation-php-regex</guid>
    </item>
    <item>
      <title>(JavaScript) Javascript RegEx Repetition Limiting - simondiercks</title>
      <link>https://snipplr.com/view/55086/javascript-regex-repetition-limiting</link>
      <description>&lt;p&gt;{min,max}&lt;/p&gt;</description>
      <pubDate>Thu, 09 Jun 2011 19:18:02 UTC</pubDate>
      <guid>https://snipplr.com/view/55086/javascript-regex-repetition-limiting</guid>
    </item>
    <item>
      <title>(Regular Expression) Comprehensive date validation regex pattern - shodan_uk</title>
      <link>https://snipplr.com/view/52865/comprehensive-date-validation-regex-pattern</link>
      <description>&lt;p&gt;Ridiculously comprehensive date validation regex - matches dd/mm/yyyy or dd/mm/yy.&#13;
&#13;
Also correctly matches number of days in months. ie. it won't match 30th Feb...&lt;/p&gt;</description>
      <pubDate>Mon, 02 May 2011 06:25:46 UTC</pubDate>
      <guid>https://snipplr.com/view/52865/comprehensive-date-validation-regex-pattern</guid>
    </item>
  </channel>
</rss>
