On Mon, Nov 10, 2008 at 11:55 AM, Anusha Krishna chand < [EMAIL PROTECTED]> wrote:
> Hi All, > How to validate an email id using perl regular expression ......... > First of all it would be nice to see what you tried so far with out that it seems like you are simply using thsi mailing list as a way to cut corners during a school/work assignment rather then actually being intrested in the way the sollution works, or even being willing to bother givving it some thought your self. As for how to actually do that... there are a lot of different ways and looking at the RFC822 there are very complex email address posibilities that even many of the major commercial mail servers out there will not accept because they are so extremely rare that it is easier not to bother with them then to try and figure out a way to match them. A full fletched way to match all possible types of email addresses does as far as I am aware not even exist. In any case having a look on cpan <http://search.cpan.org/> might help though I think you might be better helped havign a look at the email procject <http://emailproject.perl.org/> Regards, Rob