Preserved Topic: Email address RFC (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: USA! USA! USA! |
posted 06-13-2002 19:21
Can someone point me to an appropriate RFC regarding the the format of email addresses? I need to build validation that supports the standards, but I can't seem to locate the exact bit of info I need. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-14-2002 20:36 |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-14-2002 20:39
OK, I tjust tried a google search using the search terms "email" and "RFC", and got this link to all the email RFCs as the first hit... |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 06-14-2002 22:06
I found a couple links that I've been using (from Google). I've been hoping for a single regex to handle email formats (including quoted strings and IP addresses). Up until now, I've been using a simpler regex which included only the basics (handling 99.99% of addresses we've dealt with). |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 06-14-2002 22:54
The bottom one, http://www.w3.org/Protocols/rfc822/rfc822.txt, would be the one you'd really want to pay attention to, since it's from the W3. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-14-2002 23:38
There's some O'Reilly book that has a regular expression matching *every* email format... I think it's either Mastering Regular Expressions or the Perl Cookbook... I forget though. Hold on, let me check if my perl book has it... |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 06-15-2002 04:17 |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 06-18-2002 15:33
Under a bit of dust on my shelf I found my copy of Mastering Regular Expressions. Great tip. |