Basic Automatic Formatting

Type 10 numbers in any form and then press the tab key.
Your number will be formatted for the U.S. telephone system.