Added function to format a phone number when called from a region