Formats string phone numbers