Timeline for How can I validate an email address in JavaScript?
Current License: CC BY-SA 2.5
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 11, 2013 at 2:21 | history | made wiki | Post Made Community Wiki by pera | ||
Mar 7, 2013 at 1:40 | comment | added | Stephen P |
@kommradHomer -- a "regex invalid" address is almost always valid, because whatever regex you use to validate an email address is almost certainly wrong and will exclude valid email addresses. An email address is name_part@domain_part and practically anything, including an @ , is valid in the name_part; The address foo@[email protected] is legal, although it must be escaped as foo\@bar@machine.... . Once the email reaches the domain e.g. 'example.com' that domain can route the mail "locally" so "strange" usernames and hostnames can exist.
|
|
May 2, 2009 at 17:53 | vote | accept | Kredns | ||
Sep 3, 2009 at 22:39 | |||||
May 2, 2009 at 17:18 | history | answered | Paolo Bergantino | CC BY-SA 2.5 |