Created
November 25, 2020 20:07
-
-
Save Yemolai/202e8509f3909a10373d77ffae28dc5c to your computer and use it in GitHub Desktop.
Brazilian Phone Number Regex (mobile or not with area basic check)
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
/^(?:(?:\+|00)?(55)\s?)?(?:\(?([1-9][1-9])\)?\s?)?(?:((?:9\s?\d|[2-9])\d{3})\-?(\d{4}))$/.test('(21) 9 9999-9999') | |
// saved at https://regex101.com/r/R7VO4B/1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment