Format phone number in input