How many digits in country phone number
assilMekki opened this issue · 2 comments
assilMekki commented
Hello,
first I want to thank you for this great and useful library.
I wanted to ask if there is any way to get the number of digits that a phone number must contain in a specific country ?
Thanks again.
MichaelRocks commented
Hi @assilMekki,
As far as I know there's no such functionality in the library. Moreover, valid phone numbers in a country can have different length. But you can use PhoneNumberUtil.isPossibleNumberWithReason()
to find out whether or not the phone number is invalid and why.
assilMekki commented
Hello @MichaelRocks, Thank you for your help.