Btw content is unreadable thanks to aggressive adblocker detection so much that this feels like spam.
For a quick check to make sure people don't mix up fields or accidentally hit enter before they finished typing, just /.+@.+\..{2,}/ is more than enough (technically foo@com is valid, but no one uses that – note that root@localhost or cron@sysops CAN be valid, so in some contexts you want to use just /.+@.+/, but that doesn't really apply for signups and the like).
> "just /.+@.+\.{2,}/ is more than enough"
Isn't that asking for 2x '.'s after the @, which isn't required?Should instead be /.+@.+\..+/ Which will allow foo@bar.com but not foo@bar ?
Check if there’s an @ and send a verification email.
I remember some story back in the day where someone had an email address using the top level to domain only. Like “x@to”, pretty cool but probably a pain to use (:
[1] https://fightingforalostcause.net/content/misc/2006/compare-...
Sorry I didn't knew of this adblock detection nonsense, otherwise wouldn't have posted it. :(