south african mobile number regex
Closed this issue · 3 comments
freddiednml commented
Hi guys,
Just an updated regex for en-ZA mobile numbers:
'en-ZA': /^(\+?27|0)[6-8][0-9]{8}$/,
Not sure if I should do a full pull request or how this generally works, but this regex accurately checks for mobile numbers including area(or in this case network) code instead of just length and country code.
ansman commented
validate.js does not have a phone number validator
TheChuckster commented
Is there a way we can make this a feature request?
rdewolff commented
With everyday day more mobile users, it would be a great addition to support mobile phone number in validate.js. What do you think?