We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'd like to use isMobilePhone for es-MX México phone numbers.
isMobilePhone
es-MX
I'm currently using .matches(/^(\+?52)(1|01)?[0-9]{2,3}\d{8}$/)
.matches(/^(\+?52)(1|01)?[0-9]{2,3}\d{8}$/)
Country code -> /^(\+?52)(1|01)? Area codes by state -> [0-9]{2,3} The number -> \d{8}$/
/^(\+?52)(1|01)?
[0-9]{2,3}
\d{8}$/
The text was updated successfully, but these errors were encountered:
@AlexisLeon - Sounds good, PRs are welcome! 👍
Sorry, something went wrong.
@AlexisLeon can you please validate if my pull request will do the trick?
Fixed by #879.
No branches or pull requests
I'd like to use
isMobilePhone
fores-MX
México phone numbers.I'm currently using
.matches(/^(\+?52)(1|01)?[0-9]{2,3}\d{8}$/)
Country code ->
/^(\+?52)(1|01)?
Area codes by state ->
[0-9]{2,3}
The number ->
\d{8}$/
The text was updated successfully, but these errors were encountered: