Quiet down everyone! I’m about to write a simple regular expression that can validate e-mail adresses. (Above image example is not even close to being sufficient).
For reference see Mail-RFC822-Address regex and some crazy valid RFC6531 and RFC6532 e-mail address examples on wikipedia.
Wasn’t it demonstrated that regular expression cannot validate RFC822 properly / fully? 🙂
Yes. Yes it was. Input validation is still a good idea though, and we now have a small and 99.9% (or thereabouts) accurate regex that fulfills our validation needs.