Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How do I validate an email address?

by greenFox (Vicar)
on Oct 30, 2006 at 13:35 UTC ( [id://581285]=note: print w/replies, xml ) Need Help??


in reply to How do I validate an email address?

Recipe 6.19, "Matching a Valid Mail Address", in The Perl Cookbook gives a broader coverage of this topic and is well worth a read. In it, Tom Christiansen refers to his attempt at a regular expression (while admitting that it's less than perfect) which can be found in his script, ckaddr. It is based on a regular expression in Recipe 18.9 of Mastering Regular Expressions. All of this proves (to me at least) just how tricky matching an email address really is.
  • Comment on Re: How do I validate an email address?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://581285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-20 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found