Strict validating with max metadata for invalid characters
libphonenumber-js: 1.9.9
node>
var p = require('libphonenumber-js/max')
p.parsePhoneNumberFromString('sdf0541234567sdfsdf', 'IL').isValid() // true but has to be false
I use libphonenumber-js for phone validating and getting false-positive results for strings include invalid characters
I understand that the lib extract valid phone substring and performs validating for the extracted part
But is there some other methods than isValid that can actually validate strictly against the whole sting input?
Thanks, the library is awesome
Edited by Frontend end