Last active
July 2, 2016 06:17
-
-
Save AnthonyDS/71d366a0f9a9703184ce76ba7a66aa94 to your computer and use it in GitHub Desktop.
This file contains 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
// Cardholder name | |
pattern: /^[A-Za-z0-9\s]+$/ | |
Links | |
https://habrahabr.ru/post/123845/ | |
http://igorescobar.github.io/jQuery-Mask-Plugin/ | |
http://preg-match.ru/images/regular-expressions-cheat-sheet-v2.png | |
$('.alpha-no-spaces').mask("A", { | |
translation: { | |
"A": { pattern: /[\w@\-.+]/, recursive: true } | |
} | |
}); | |
email: | |
http://stackoverflow.com/questions/940577/javascript-regular-expression-email-validation | |
http://stackoverflow.com/posts/32686261/revisions | |
Other | |
http://jquery-plugins.net/tag/masked-input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment