Seven numerals stripped will be formatted as xxx-xxxx.

If the user enters the following data:


5555555 ext 123 will be reformatted as: 555-5555 ext 123.

                                

Ten numerals stripped will be formatted as (xxx) xxx-xxxx.


If the user enters the following data:
9165555555 ext 123 will be reformatted as: (916) 555-5555 ext 123.

                               

Eleven numerals stripped will be formatted as +x(xxx) xxx-xxxx.


If the user enters the following
19165555555 will be reformatted as: +1(916) 555-5555.