Created
March 10, 2014 15:08
-
-
Save weslley39/9466766 to your computer and use it in GitHub Desktop.
verify if is an emaill with jaavscript in asp mvc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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