-
-
Save trainingLeader/41ebdf4bd82eb6981d40472f5b5cf54a to your computer and use it in GitHub Desktop.
Expresiones regulares para validar elementos
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
| static namePattern = '([a-zA-Z]+) ([a-zA-Z]+)'; | |
| static emailPattern = '^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$'; | |
| static notOnlySpacesPattern = '^[a-zA-Z0-9]+$'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment