2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Both are totally broken as they both fail to accept the +
character in the local part and one of them requires more than one digit for the domain name. Single-digit domain names are perfectly fine in some TLDs (such as .de
).
If you really need more validation than a simple "has the *@*.*
format" check, you need to read this answer on Stack Overflow: Using a regular expression to validate an email address
ThiefMaster
- 715
- 6
- 19
default