Pattern Explanations

			+1 (123) 555-5555: A phone number with a US-style area code and a 7-digit number, separated by spaces.
			+1-800-123-4567: A phone number with a US-style toll-free code and a 7-digit number, separated by hyphens.
			+1.123.1234: A phone number with a non-US country code and a 4-digit number, separated by dots.
			+1(123) 4-1234: A phone number with a non-US country code and a 4-digit number, separated by parentheses and a hyphen.
			+1.2.34.5: A phone number with a non-US country code and a 4-digit number, separated by dots.
		

These are just a few examples of the complex patterns we've encountered.

We're working on a solution that's almost, but not quite, as complicated as it sounds.

Want to see some actual code?