I have a list of phone numbers entered into Google Spreadsheet in this format: 404-313-2974

How can I convert this entered cell into (404) 313-2974 ?


1 Answer 1


With some regex :

  ,"\)-","\) ")

First regexreplace job is to add some parenthesis.
Second one is to remove the first hyphen -.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.