Created
June 14, 2014 14:16
-
-
Save wiltonbsilva/132ae9f97f8d92013f33 to your computer and use it in GitHub Desktop.
Regular Expression to match Brazilian zipcodes (CEP)
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
RegEx: | |
(\d{5})-?(\d{3}) | |
Test: | |
09930-360 | |
Test: | |
09930360 | |
Test: | |
09930 777 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment