Open rparsh opened 6 months ago
Describe the issue encountered concisely but informative.
IsValidNumber throwing error for UK valid phone number. There seems to be an issue with the regex.
Can we update the regex based on https://stackoverflow.com/a/11518538
https://regex101.com/r/IMfzkx/1
Valid Phone number like +442071234567 showing invalid
+442071234567
Include any relevant code snippets or configuration related to the bug.
isValidPhoneNumber('2071234567', 'GB')
This has been resolve now so we can close this !
Bug Summary
Describe the issue encountered concisely but informative.
IsValidNumber throwing error for UK valid phone number. There seems to be an issue with the regex.
Can we update the regex based on https://stackoverflow.com/a/11518538
https://regex101.com/r/IMfzkx/1
Valid Phone number like
+442071234567
showing invalidCode Snippet / Configuration (if applicable)
Include any relevant code snippets or configuration related to the bug.