<?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/validation</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 08:22:00 GMT</pubDate>
<item>
<title>(C#) Check if a file is an executable. - jprochazka</title>
<link>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</link>
<description><![CDATA[ <p>A function to check the first two bytes to see if they match "MZ" marking it as an executable.</p> ]]></description>
<pubDate>Sat, 18 May 2013 05:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</guid>
</item>
<item>
<title>(PHP) Credit card validation in php - satinfo30</title>
<link>http://snipplr.com/view/70984/credit-card-validation-in-php/</link>
<description><![CDATA[ <p>Validate the credit card number is valid or not</p> ]]></description>
<pubDate>Tue, 30 Apr 2013 20:10:28 GMT</pubDate>
<guid>http://snipplr.com/view/70984/credit-card-validation-in-php/</guid>
</item>
<item>
<title>(JavaScript) email validation - dreamstarter</title>
<link>http://snipplr.com/view/70726/email-validation/</link>
<description><![CDATA[ <p>Use a regex to check the email address input</p> ]]></description>
<pubDate>Tue, 09 Apr 2013 23:33:35 GMT</pubDate>
<guid>http://snipplr.com/view/70726/email-validation/</guid>
</item>
<item>
<title>(PHP) URL validation - dosde</title>
<link>http://snipplr.com/view/70256/url-validation/</link>
<description><![CDATA[ <p>validate given URL through C5</p> ]]></description>
<pubDate>Tue, 05 Mar 2013 18:31:13 GMT</pubDate>
<guid>http://snipplr.com/view/70256/url-validation/</guid>
</item>
<item>
<title>(JavaScript) Email Validation in JavaScript - apphp-snippets</title>
<link>http://snipplr.com/view/70239/email-validation-in-javascript/</link>
<description><![CDATA[ <p>One of the important things about user input is to verify that the user has supplied the email that you have requested. The function below allows you to verify email address with easy.</p> ]]></description>
<pubDate>Mon, 04 Mar 2013 20:16:37 GMT</pubDate>
<guid>http://snipplr.com/view/70239/email-validation-in-javascript/</guid>
</item>
<item>
<title>(PHP) Is numeric - pythas</title>
<link>http://snipplr.com/view/69793/is-numeric/</link>
<description><![CDATA[ <p>Read docblock.</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 01:07:38 GMT</pubDate>
<guid>http://snipplr.com/view/69793/is-numeric/</guid>
</item>
<item>
<title>(JavaScript) Allow only numberic key presses. - jprochazka</title>
<link>http://snipplr.com/view/69756/allow-only-numberic-key-presses/</link>
<description><![CDATA[ <p>The following code allows only numeric characters to be entered.</p> ]]></description>
<pubDate>Sat, 02 Feb 2013 02:49:40 GMT</pubDate>
<guid>http://snipplr.com/view/69756/allow-only-numberic-key-presses/</guid>
</item>
<item>
<title>(Groovy) Validate if a string is a Date - agarcim</title>
<link>http://snipplr.com/view/69232/validate-if-a-string-is-a-date/</link>
<description><![CDATA[ <p>Returns true if the string 'value' is a valid date.</p> ]]></description>
<pubDate>Mon, 24 Dec 2012 18:44:45 GMT</pubDate>
<guid>http://snipplr.com/view/69232/validate-if-a-string-is-a-date/</guid>
</item>
<item>
<title>(PHP) Javascript  validation for text box . Special Characters, Numbers. - laxman2021</title>
<link>http://snipplr.com/view/69068/javascript--validation-for-text-box--special-characters-numbers/</link>
<description><![CDATA[ <p>Special chars, Numbers validation.</p> ]]></description>
<pubDate>Tue, 11 Dec 2012 19:16:54 GMT</pubDate>
<guid>http://snipplr.com/view/69068/javascript--validation-for-text-box--special-characters-numbers/</guid>
</item>
<item>
<title>(PHP) Onkeypress event Javascript spacekey event Validation for (Integers, Spaces) Textbox. - laxman2021</title>
<link>http://snipplr.com/view/68969/onkeypress-event-javascript-spacekey-event-validation-for-integers-spaces-textbox/</link>
<description><![CDATA[ <p>Validates Numericals in a text box.

Validates spaces in a text box.</p> ]]></description>
<pubDate>Wed, 05 Dec 2012 21:34:39 GMT</pubDate>
<guid>http://snipplr.com/view/68969/onkeypress-event-javascript-spacekey-event-validation-for-integers-spaces-textbox/</guid>
</item>
<item>
<title>(JavaScript) Javascript date validation - cristianogois</title>
<link>http://snipplr.com/view/68693/javascript-date-validation/</link>
<description><![CDATA[ <p>Taken from http://stackoverflow.com/questions/1353684/detecting-an-invalid-date-date-instance-in-javascript</p> ]]></description>
<pubDate>Thu, 22 Nov 2012 03:45:05 GMT</pubDate>
<guid>http://snipplr.com/view/68693/javascript-date-validation/</guid>
</item>
<item>
<title>(PHP) Validate HTML Color (Both HEX &amp;amp; Named)| Regex - STaRDoGG</title>
<link>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</link>
<description><![CDATA[ <p>This function will take a HTML color as a string, and run it through some validation.

If $named (optional): is set to either 1 or TRUE it'll check if it was a named color first, otherwise itll first check for a valid Hex color that include thes hash (#) sign, and then will check for a valid Hex color that doesn't include the hash and add it to the color.

NOTE: If it fails anywhere along the validation, such as an invalid Hex color, no error notice is returned. You may want to add this in yourself, or perhaps return a default color, such as black, if it's needed for your use.</p> ]]></description>
<pubDate>Sat, 03 Nov 2012 04:12:49 GMT</pubDate>
<guid>http://snipplr.com/view/68083/validate-html-color-both-hex--named-regex/</guid>
</item>
<item>
<title>(PHP) Form validation - Email validation - frvalois</title>
<link>http://snipplr.com/view/67365/form-validation--email-validation/</link>
<description><![CDATA[ <p>Return false if the email is valid - True if it's not</p> ]]></description>
<pubDate>Wed, 26 Sep 2012 08:06:02 GMT</pubDate>
<guid>http://snipplr.com/view/67365/form-validation--email-validation/</guid>
</item>
<item>
<title>(JavaScript) Easy Credit Card validation using Javascript - welancers</title>
<link>http://snipplr.com/view/66722/easy-credit-card-validation-using-javascript/</link>
<description><![CDATA[ <p>Do Credit Card validation easily using JavaScript</p> ]]></description>
<pubDate>Tue, 14 Aug 2012 13:55:44 GMT</pubDate>
<guid>http://snipplr.com/view/66722/easy-credit-card-validation-using-javascript/</guid>
</item>
<item>
<title>(jQuery) JQuery Email Field Validation - boondoklife</title>
<link>http://snipplr.com/view/66525/jquery-email-field-validation/</link>
<description><![CDATA[ <p>Used to automatically give feedback on email address validity.</p> ]]></description>
<pubDate>Sat, 04 Aug 2012 02:27:06 GMT</pubDate>
<guid>http://snipplr.com/view/66525/jquery-email-field-validation/</guid>
</item>
<item>
<title>(PHP) EU VAT Validation - MGHollander</title>
<link>http://snipplr.com/view/65602/eu-vat-validation/</link>
<description><![CDATA[ <p>Look if the given input could be a legal VAT-number.
Accepts input with or without '.' between the numbers and must contain a County-code</p> ]]></description>
<pubDate>Wed, 13 Jun 2012 22:24:41 GMT</pubDate>
<guid>http://snipplr.com/view/65602/eu-vat-validation/</guid>
</item>
<item>
<title>(JavaScript) Dreamweaver Form Validation w/ Extra Statements - ryarwood</title>
<link>http://snipplr.com/view/65568/dreamweaver-form-validation-w-extra-statements/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:12:44 GMT</pubDate>
<guid>http://snipplr.com/view/65568/dreamweaver-form-validation-w-extra-statements/</guid>
</item>
<item>
<title>(JavaScript) Validar solo el ingreso de String con Javascript - serialk89</title>
<link>http://snipplr.com/view/64193/validar-solo-el-ingreso-de-string-con-javascript/</link>
<description><![CDATA[ <p>Valida por medio del metodo onkeypress de un campo input, que solo se ingresen string /[a-zA-Z]/</p> ]]></description>
<pubDate>Wed, 28 Mar 2012 05:04:29 GMT</pubDate>
<guid>http://snipplr.com/view/64193/validar-solo-el-ingreso-de-string-con-javascript/</guid>
</item>
<item>
<title>(JavaScript) Simple Javascript Error Checking - Quick Submit - ryarwood</title>
<link>http://snipplr.com/view/62869/simple-javascript-error-checking--quick-submit/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:28 GMT</pubDate>
<guid>http://snipplr.com/view/62869/simple-javascript-error-checking--quick-submit/</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>
</channel>
</rss>