what regular expressions are used for email validation can you help me out
$("Textbox").rules("add", { regularExpression: "^[a-zA-Z'.\s]{1,40}$" })
what regular expressions are used for email validation can you help me out
$("Textbox").rules("add", { regularExpression: "^[a-zA-Z'.\s]{1,40}$" })
You should try this...
/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/
 
    
    function validateEmail(email) { 
    var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\
".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA
-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
    return re.test(email);
} 
 
    
    