var tfld = “exampleemai@domain.com”;

var emailFilter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;

var res = emailFilter.test(tfld)

Advertisements