3 ms·
Does't work on the dreaded "I am a terrible but nonetheless valid email address"@example.com. I echo the advice of everyone else - validate with something very
by exratione 12y ago
Does't work on the dreaded "I am a terrible but nonetheless valid email address"@example.com.
I echo the advice of everyone else - validate with something very simple like .+@.+ and then by sending an email. Trying to recapture the complexity of the email system via a tool like regular expressions is tilting at windmills. It's like trying to develop a regular expression to determine whether a name is real or not.
https://www.exratione.com/2012/09/what-constitutes-an-acceptable-email-regex/ https://www.exratione.com/2012/09/what-constitutes-an-accept...