<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - philsown</title>
<link>http://snipplr.com/users/philsown/tags/validation</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 06:59:20 GMT</pubDate>
<item>
<title>(PHP) Email Validation Function</title>
<link>http://snipplr.com/view/31886/email-validation-function/</link>
<description><![CDATA[ <p>I used to have the strlen block and the 2 preg if blocks each separately return false throughout, but lately I'm in a single point of exit mindset.

I cannot take credit for the regexps - I borrowed them from someone who borrowed them. If the real author is known, please comment and attribute.

I _did_ however make one edit, which was to increase the TLD portion from 3 chars max to 4 - to account for .info email addresses. One character - my big contribution!

Enjoy</p> ]]></description>
<pubDate>Wed, 14 Apr 2010 23:27:10 GMT</pubDate>
<guid>http://snipplr.com/view/31886/email-validation-function/</guid>
</item>
</channel>
</rss>