Forked from jaimeguaman/regex_telefonos_fijos_chile
Last active
August 29, 2015 14:23
-
-
Save ldlsegovia/7ed60258dd127e161aff to your computer and use it in GitHub Desktop.
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
/^((\+?56\s)?(0?2|0?3[2-5]|0?4[1-5]|0?5[123578]|0?6[13457]|0?7[1235])?(\s2\d{6}|\s\d{6}))$/ | |
'+56 2 2xxxxxx', | |
'+56 51 2xxxxxx', | |
'+56 51 xxxxxx', | |
'56 75 xxxxxx', | |
'56 051 xxxxxx', | |
'56 051 2xxxxxx', | |
'+56 051 2xxxxxx' | |
valida codigos de area nacional segun | |
http://www.entel.cl/ayudalinea/codigos_area_nacional.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment