Relatively flexible pattern, intended to accept and parse North American phone numbers. Country code can be changed to accept any country phone number as long as it's of the general form ### ### #### (i.e. 10 digits, seperated into 3 digit area, 3 digit fisrt group, and 4 digit second group) This regex is ignorant of spaces. Also supports extensions.