how to use regex phone number code example
Example 1: phone number regex
^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$
Example 2: regex pattern for mobile number
/^(\+\d{1,3}[- ]?)?\d{10}$/
^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$
/^(\+\d{1,3}[- ]?)?\d{10}$/