CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Language: javascript

Javascript RexEx Email

295 Views   
function checkEmail(inputvalue){ var pattern=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/; if(pattern.test(inputvalue)){ return true; }else{ return false; } }
by jaredmroberts
  January 28, 2011 @ 2:52pm
Tags:
Add a comment


Report Abuse
brought to you by:
West Wind Techologies