Skip to content

Instantly share code, notes, and snippets.

@weslley39
Created March 10, 2014 15:08
Show Gist options
  • Save weslley39/9466766 to your computer and use it in GitHub Desktop.
Save weslley39/9466766 to your computer and use it in GitHub Desktop.
verify if is an emaill with jaavscript in asp mvc
var emailRegExp = /^[A-Z0-9._%+-]+@@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
var validaEmail = emailRegExp.test(input.val());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment