The 10 digit format is already supported. To get the format to store in the (xx)xxxx-xxxx format in your database, you will have to find the phone number input box and find where it has this:
'x (xxx) xxx-xxxx'
and change it to this:
'x (xx) xxxx-xxxx'