Home › Forums › JavaScript › Email verification…oh no, not that! › Reply To: Email verification…oh no, not that!
September 26, 2014 at 5:43 pm
#184826
Participant
a regex that really validates email addresses is quite long, and might not exist anyway.
As shaneisme noted, client-side validation is nothing but a user convenience anyway, so there’s no point in expending too much energy on it. The more fine-grained you make your check, the more likely you are to end up with false negatives, which is bad UX. Even server-side, the only true test of validity is actually sending an email and getting a response back.