Description |
USA Phone number with dash, periods, slashes, spaces, () and only last 7 digit is required but everything else is checked
Here it is broken down feel free to add too it or use it
Begin String: ^
Country Code 1: (1|1(\s|\s?-\s?|\s?\.\s?|\s?/\s?))?
Area Code FirstDigit cannot be 0 or 1:((\(?[2-9]{1}[\d]{2}\)?(\s|\s?-\s?|\s?\.\s?|\s?/\s?)?))?
3Digit Prefix: (\d{3})
Space/-/. between: (\s|\s?-\s?|\s?\.\s?|\s?/\s?)?
4Digit Suffix: (\d{4})
End String $
*can add country code with out area code!! |