This repository provides you with an Apex Plug-in and a sample flow which can be used to format a phone to the classic 10 digit US format.