Answers for "regex for telephone number only +"

10

phone number regex

^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$
Posted by: Guest on November-28-2019
0

regex for valid phone number

^(\+\d{1,2}\s?)?1?\-?\.?\s?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$
Posted by: Guest on January-16-2022

Browse Popular Code Answers by Language