Hacker News new | ask | show | jobs
by Smrchy 4962 days ago
For JS validation on the client i use this:

http://blog.tcs.de/javascript-near-perfect-email-validation-...

A lot shorter and has only 3 cases that would not be detected. Enough for 99.x% of all entered emails.