<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ultimate Java Regular Expression to validate any email address.</title>
	<atom:link href="http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/</link>
	<description>Effective programming and blogging tips by Zaheer Paracha</description>
	<lastBuildDate>Sat, 11 Feb 2012 03:00:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Moe</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1874</link>
		<dc:creator>Moe</dc:creator>
		<pubDate>Fri, 23 Dec 2011 11:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1874</guid>
		<description>String EMAIL_PATTERN = &quot;^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+(\\.[a-z,A-Z]{2,})$&quot;;</description>
		<content:encoded><![CDATA[<p>String EMAIL_PATTERN = &#8220;^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+(\\.[a-z,A-Z]{2,})$&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moe</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1873</link>
		<dc:creator>Moe</dc:creator>
		<pubDate>Fri, 23 Dec 2011 11:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1873</guid>
		<description>Ultimate my ass. How can you enforce upper case letters for the domain part at the end ? ([\\w\\-]+\\.)+[A-Z]{2,4}$

Most of the commenters here are wrong as well.</description>
		<content:encoded><![CDATA[<p>Ultimate my ass. How can you enforce upper case letters for the domain part at the end ? ([\\w\\-]+\\.)+[A-Z]{2,4}$</p>
<p>Most of the commenters here are wrong as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryouji_shiki</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1849</link>
		<dc:creator>ryouji_shiki</dc:creator>
		<pubDate>Wed, 14 Dec 2011 22:54:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1849</guid>
		<description>From the Struts 2 email validator:

^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+((\\.com)&#124;(\\.net)&#124;(\\.org)&#124;(\\.info)&#124;(\\.edu)&#124;(\\.mil)&#124;(\\.gov)&#124;(\\.biz)&#124;(\\.ws)&#124;(\\.us)&#124;(\\.tv)&#124;(\\.cc)&#124;(\\.aero)&#124;(\\.arpa)&#124;(\\.coop)&#124;(\\.int)&#124;(\\.jobs)&#124;(\\.museum)&#124;(\\.name)&#124;(\\.pro)&#124;(\\.travel)&#124;(\\.nato)&#124;(\\..{2,3})&#124;(\\..{2,3}\\..{2,3}))$</description>
		<content:encoded><![CDATA[<p>From the Struts 2 email validator:</p>
<p>^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@([A-Za-z0-9-])+((\\.com)|(\\.net)|(\\.org)|(\\.info)|(\\.edu)|(\\.mil)|(\\.gov)|(\\.biz)|(\\.ws)|(\\.us)|(\\.tv)|(\\.cc)|(\\.aero)|(\\.arpa)|(\\.coop)|(\\.int)|(\\.jobs)|(\\.museum)|(\\.name)|(\\.pro)|(\\.travel)|(\\.nato)|(\\..{2,3})|(\\..{2,3}\\..{2,3}))$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth Kaufmann</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1831</link>
		<dc:creator>Seth Kaufmann</dc:creator>
		<pubDate>Thu, 08 Dec 2011 20:15:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1831</guid>
		<description>The reason this doesn’t allow any email addresses because it’s looking for CAPITAL LETTERS on the domain name.

CURRENT : ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$”;

SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Za-z]{2,4}$”;
OR
SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[a-z]{2,4}$”;</description>
		<content:encoded><![CDATA[<p>The reason this doesn’t allow any email addresses because it’s looking for CAPITAL LETTERS on the domain name.</p>
<p>CURRENT : ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$”;</p>
<p>SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Za-z]{2,4}$”;<br />
OR<br />
SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[a-z]{2,4}$”;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1830</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Thu, 08 Dec 2011 20:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1830</guid>
		<description>The reason this doesn&#039;t allow any email addresses because it&#039;s looking for CAPITAL LETTERS on the domain name. 

CURRENT : ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$&quot;; 

SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Za-z]{2,4}$&quot;; 
OR 
SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[a-z]{2,4}$&quot;;</description>
		<content:encoded><![CDATA[<p>The reason this doesn&#8217;t allow any email addresses because it&#8217;s looking for CAPITAL LETTERS on the domain name. </p>
<p>CURRENT : ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Z]{2,4}$&#8221;; </p>
<p>SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[A-Za-z]{2,4}$&#8221;;<br />
OR<br />
SHOULD BE: ^[\\w\\-]([\\.\\w])+[\\w]+@([\\w\\-]+\\.)+[a-z]{2,4}$&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schön</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1822</link>
		<dc:creator>schön</dc:creator>
		<pubDate>Mon, 05 Dec 2011 15:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1822</guid>
		<description>schön@grün.de fails - \w doesn&#039;t match &quot;umlaute&quot; in java..</description>
		<content:encoded><![CDATA[<p>schön@grün.de fails &#8211; \w doesn&#8217;t match &#8220;umlaute&#8221; in java..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naman</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1811</link>
		<dc:creator>naman</dc:creator>
		<pubDate>Fri, 02 Dec 2011 09:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1811</guid>
		<description>exactly what I&#039;m looking for.</description>
		<content:encoded><![CDATA[<p>exactly what I&#8217;m looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: User</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1735</link>
		<dc:creator>User</dc:creator>
		<pubDate>Tue, 01 Nov 2011 13:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1735</guid>
		<description>how to  validate email address like gmail@gmail.com i.e it doesnot allow</description>
		<content:encoded><![CDATA[<p>how to  validate email address like <a href="mailto:gmail@gmail.com">gmail@gmail.com</a> i.e it doesnot allow</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1705</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Thu, 06 Oct 2011 23:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1705</guid>
		<description>The first example in this post fails with the example

some+email@gmail.com</description>
		<content:encoded><![CDATA[<p>The first example in this post fails with the example</p>
<p><a href="mailto:some+email@gmail.com">some+email@gmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.zparacha.com/ultimate-java-regular-expression-to-validate-email-address/comment-page-1/#comment-1658</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Wed, 07 Sep 2011 14:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/?p=346#comment-1658</guid>
		<description>my.email@yahoo.com = fail

Fell at the first hurdle</description>
		<content:encoded><![CDATA[<p><a href="mailto:my.email@yahoo.com">my.email@yahoo.com</a> = fail</p>
<p>Fell at the first hurdle</p>
]]></content:encoded>
	</item>
</channel>
</rss>

