<?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: How to validate email, SSN, phone number in Java using Regular expressions.</title>
	<atom:link href="http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/</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: Dan J</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1904</link>
		<dc:creator>Dan J</dc:creator>
		<pubDate>Wed, 11 Jan 2012 15:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1904</guid>
		<description>Forgive me for asking what might be a really easy question (I am new to this type of thing)just wondering how you can allow an empty space on a surname. Apparently this can happen!!!!! for example John Mc Ginty (as opposed to John McGinty) 

the code we have at the moment is

# FULLNAME
                            case $f==&#039;fullname&#039;:
                            if(!preg_match(&#039;/^([a-zA-Z]+[.-]?[a-zA-Z])+(\s[a-zA-Z]+[.-]?[a-zA-Z]+[-]?[a-zA-Z]+)*$/&#039;,$value))
                                {
                                $errors[$input] = &quot;a valid $input&quot;;
                                }
                            break;

Currently though it does seem to allow a second name of a three word name if that second name is at least 3 characters long. It wont allow it if is only 2 characters
i.e. John Mac Ginty allowed
but John Mc Ginty not allowed
Any ideas would be greatly appreciated!!! :)</description>
		<content:encoded><![CDATA[<p>Forgive me for asking what might be a really easy question (I am new to this type of thing)just wondering how you can allow an empty space on a surname. Apparently this can happen!!!!! for example John Mc Ginty (as opposed to John McGinty) </p>
<p>the code we have at the moment is</p>
<p># FULLNAME<br />
                            case $f==&#8217;fullname&#8217;:<br />
                            if(!preg_match(&#8216;/^([a-zA-Z]+[.-]?[a-zA-Z])+(\s[a-zA-Z]+[.-]?[a-zA-Z]+[-]?[a-zA-Z]+)*$/&#8217;,$value))<br />
                                {<br />
                                $errors[$input] = &#8220;a valid $input&#8221;;<br />
                                }<br />
                            break;</p>
<p>Currently though it does seem to allow a second name of a three word name if that second name is at least 3 characters long. It wont allow it if is only 2 characters<br />
i.e. John Mac Ginty allowed<br />
but John Mc Ginty not allowed<br />
Any ideas would be greatly appreciated!!! <img src='http://www.zparacha.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javed khan</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1870</link>
		<dc:creator>javed khan</dc:creator>
		<pubDate>Thu, 22 Dec 2011 08:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1870</guid>
		<description>i am sending my resume please check this file</description>
		<content:encoded><![CDATA[<p>i am sending my resume please check this file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale Beaston</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1688</link>
		<dc:creator>Dale Beaston</dc:creator>
		<pubDate>Wed, 28 Sep 2011 22:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1688</guid>
		<description>Rattling clean internet site, regards for this post.</description>
		<content:encoded><![CDATA[<p>Rattling clean internet site, regards for this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujatha</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1661</link>
		<dc:creator>Sujatha</dc:creator>
		<pubDate>Fri, 09 Sep 2011 07:19:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1661</guid>
		<description>i want to know the procedure for validate a phonenumber which containing all zeros in struts</description>
		<content:encoded><![CDATA[<p>i want to know the procedure for validate a phonenumber which containing all zeros in struts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JavaPins</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1656</link>
		<dc:creator>JavaPins</dc:creator>
		<pubDate>Mon, 05 Sep 2011 14:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1656</guid>
		<description>&lt;strong&gt;How to validate email, SSN, phone number in Java using Regular expressions....&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from JavaPins...</description>
		<content:encoded><![CDATA[<p><strong>How to validate email, SSN, phone number in Java using Regular expressions&#8230;.</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from JavaPins&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Coder</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1611</link>
		<dc:creator>Java Coder</dc:creator>
		<pubDate>Sat, 25 Jun 2011 13:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1611</guid>
		<description>Good use of regular expressions!</description>
		<content:encoded><![CDATA[<p>Good use of regular expressions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orson Holloway</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1579</link>
		<dc:creator>Orson Holloway</dc:creator>
		<pubDate>Thu, 09 Jun 2011 13:23:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1579</guid>
		<description>Thanks for adding this together - that is the great article for all of us with our heads buried inside the keyboard all time.</description>
		<content:encoded><![CDATA[<p>Thanks for adding this together &#8211; that is the great article for all of us with our heads buried inside the keyboard all time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya ranjan kumar</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1530</link>
		<dc:creator>priya ranjan kumar</dc:creator>
		<pubDate>Sat, 16 Apr 2011 10:19:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1530</guid>
		<description>good artical

thanks 
Ravi
&lt;a href=&#039;www.jevansathi.com&#039; rel=&quot;nofollow&quot;&gt;jevan sathi&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>good artical</p>
<p>thanks<br />
Ravi<br />
<a href='www.jevansathi.com' rel="nofollow">jevan sathi</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toni</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1412</link>
		<dc:creator>Toni</dc:creator>
		<pubDate>Wed, 02 Mar 2011 18:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1412</guid>
		<description>very useful!!

thx</description>
		<content:encoded><![CDATA[<p>very useful!!</p>
<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joy</title>
		<link>http://www.zparacha.com/validate-email-ssn-phone-number-using-java-regular-expression/comment-page-1/#comment-1376</link>
		<dc:creator>joy</dc:creator>
		<pubDate>Thu, 24 Feb 2011 08:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zparacha.com/java_regex_validation/#comment-1376</guid>
		<description>thank you.</description>
		<content:encoded><![CDATA[<p>thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

