Description

This gem normalizes, formats and splits E164 phone numbers. A valid E164 phone number must include a country code.

E164 numbers are international numbers with a country dial prefix, usually an area code and a subscriber number. For example, the Australian number +61 412 345 678 can be broken down into the following components:

Country Code (CC): a country code of 61

National Destination Code (NDC): a mobile number denoted by the 4 (specific to Australia)