phone-number-parser
phone-number-parser copied to clipboard
A .NET library for parsing phone numbers.
https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200000D0001PDFE.pdf
https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200001D0003PDFE.pdf
https://www.imda.gov.sg/-/media/imda/files/regulation-licensing-and-consultations/frameworks-and-policies/numbering/national-numbering-plan-and-allocation-process/imda-national-numbering-plan.pdf
https://www.ofca.gov.hk/filemanager/ofca/en/content_311/no_plan.pdf
https://www.icasa.org.za/uploads/files/Amendment-of-the-Numbering-Plan-Regulations-2016.pdf
https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200009C0002PDFE.pdf
https://www.itu.int/dms_pub/itu-t/oth/02/02/T020200004A0003PDFE.pdf
Whilst the library intends to show the geographic area name in the local spelling, for non Latin alphabets (e.g. Hebrew, Arabic and Cyrillic) or script based (e.g. Chinese and Japanese)...
The API would introduce 2 methods: ```csharp public static string NumberToDialFrom(this PhoneNumber destination, CountryInfo countryInfo) public static string NumberToDialFrom(this PhoneNumber destination, PhoneNumber source) ``` Examples: - `+441146548866.NumberToDialFrom(+441142726444)` only `6548866` needs...