Home › Forums › JavaScript › Email verification…oh no, not that! › Reply To: Email verification…oh no, not that!
September 26, 2014 at 5:18 pm
#184825
Participant
Well, if it was important, I wouldn’t be checking if it’s a valid email client-side surely.
But there’s nothing wrong with using regex in this case, I don’t think JS has a built-in method for it. There may also be libraries that have this as part of their core function.
Don’t forget that using an HTML5 input type=email
will solve the issue in modern browsers anyway.