Timeline for How can I validate an email address in JavaScript?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2021 at 14:03 | comment | added | Bob van Luijt | Agreed with @ruohola – this is a valid address | |
Sep 29, 2021 at 12:40 | comment | added | ruohola |
@pmiranda E.g. http://ai is someone's valid domain, so they could use e.g. a@ai as their email.
|
|
Sep 29, 2021 at 11:59 | comment | added | pmiranda | @ruohola it has not top-level domain (separated by periods) datatracker.ietf.org/doc/html/rfc3696 | |
Sep 29, 2021 at 11:01 | comment | added | ruohola | @pmiranda That is a valid email address. | |
Feb 2, 2021 at 18:18 | comment | added | pmiranda | 'a@a' returns valid: jsfiddle.net/pmiranda/guoyh4dv | |
Feb 25, 2015 at 15:18 | history | edited | Danilo Cabello | CC BY-SA 3.0 |
Since test() returns a boolean, there is no need for an if return True, else return False.
|
Aug 17, 2014 at 17:38 | comment | added | D.A.H | IDN addresses are not validated (info@üpöü.com) | |
Sep 11, 2013 at 2:21 | history | made wiki | Post Made Community Wiki by pera | ||
Apr 15, 2013 at 13:31 | history | answered | Bob van Luijt | CC BY-SA 3.0 |