We have different regular expression patterns for validating email address.In this article, I am sharing some useful cross browsers regular expression patterns for validating email address with java script and jquery.A complex regex validation on the email address doesn’t introduce an additional solution, it introduces an additional problem.
If you actually check the Google query I linked above, people have been writing (or trying to write) RFC-compliant regular expressions to parse email addresses for years.
But what if I told you there were a way to determine whether or not an email is valid without resorting to regular expressions at all? The activation email is a practice that’s been in use for years, but it’s often paired with complex validations that the email is formatted correctly.
It’s surprisingly easy, and you’re probably already doing it anyway. If you’re going to send an activation email to users, why bother using a gigantic regular expression?
This is to verify that I actually own that email address before my account is activated.
At this point, why keep parsing email addresses for their format?