I have ASP.NET project and I need to check is email correct or not. I always using that script, but it fails with asp.net, because @
is bad symbol.
function emailvalidate(e)
{
var b=/^[^@\s]+@[^@\.\s]+(\.[^@\.\s]+)+$/;
return b.test(e);
}
How can I fix this? And its important to check email by JavaScript, not ASP.NET or C#.
P.S. Im really new with ASP.NET and JavaScript RegEx.