4 ms·
Here’s the regex you should use: .+@.+\..+ Works every time 100% of the time.
by pkrumins 5y ago
Here’s the regex you should use:
.+@.+\..+
Works every time 100% of the time.
- arthurcolle 5y agoHaha I like the other poster dude's suggestion of just letting it through if you see an @ symbol. Wouldn't yours work with potentially too many weird character sets? probably language/runtime dependent
- mappu 5y agoFamously won't work for n@ai, either with or without the trailing period to ensure global name resolution. The .ai is one of a rare few ccTLDs that have (or had) top-level MX and A records. https://mail.gnome.org/archives/evolution-list/2002-January/msg00466.html https://mail.gnome.org/archives/evolution-list/2002-January/...
- pkrumins 5y ago2unusual4me
- deleted 5y ago[deleted]