We have lots of office locations on our website, each with a main phone number - many have been entered with the area code looking like this: (800) 555-5555
This is how I need them to all look, regardless to how it was entered: 800- 555-5555
Here's where I'm at right now
str_replace(array( '(', ')' ), '', $this->data['location_phone']);
While this removes both parenthesis, I really just need to remove the opening one and replace the closing parenthesis with a dash.