Last active
January 14, 2019 15:35
-
-
Save darkmavis1980/e9fccb890b23ce5315885c3084befbde to your computer and use it in GitHub Desktop.
List of Regular Expressions
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
// email validation | |
^([a-zA-Z0-9.+_-]+)@([a-z0-9.-]+)\.([a-zA-Z]{2,6}$) | |
// phone numbers | |
([0-9+\s]+)$ | |
// price, eg: 30, 12.45 | |
^([0-9]+)(\.[0-9]+)?$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment