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