Closed denisbarriere closed 4 years ago
Thanks Denis, I am experiencing the same issue.
Yes, after seeing the current implementation, valid mobile numbers for Zambia are those that start with 95 or 96 or 97.
@denisbarriere, I will check at the issue and will try to fix the same issue. Also, if there are some resources that show all valid Zambia numbers prefix, you can share.
Thanks.
I can take this issue
@ezkemboi @profnandaa so this has been fixed by a pr? which has been merged... so this issue can be closed? I don't get the codebase acceptance criteria... I actually don't care anymore, was only looking for adding another/new validation but this would maybe later.
Sure.
thanks @meshack-mbuvi
Hi there,
First, I wanted to thank you for providing this amazing library that makes a lot of developers life easier!
I built an express API that needs to validate international mobile numbers, including Zambian numbers. I am using the
express-validator
library which relies onvalidator.js
under the hood. To ensure the phone numbers received by this API are valid, I am using the following piece of code:It works fine, but it does not accept recent Zambia numbers which start with
076
(e.g.+260761234567
)Could you please help or let me know if this is on the roadmap?
Thanks a lot!