Q . Please provide me email validation regular expression.

Mike Tyson. asked, Oct 22 ' 2016

Email validation Regex.

  • regex
  • regular-expression
  • email

1 Answers

Try this.

var pattern = /\S{3,20}@\S{2,15}\.\w{1,4}/

var email = "test@example.com";

alert(pattern.test(email);

Leave a Ansewer