Created
January 7, 2015 15:38
-
-
Save flpms/54836efa185a9c8023c9 to your computer and use it in GitHub Desktop.
Regex para telefones no padrão brasileiro
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
/^(\([0-9]{2}\))(\s|)([0-9]{4}|[0-9]{5})\-([0-9]{4})$|(^[0-9]{3}|^([0-9]{4})(\s|)([0-9]{3})(\s|)([0-9]{6})|[0-9]{4})$/g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment