I have a phone number in this format +11234567890. I want to show this as +1-123-456-7890 or just 123-456-7890 in Angular5/Ionic. Are there any components available to format phone numbers in required format? Or is there any method to achieve this.
Asked
Active
Viewed 1,482 times
0
-
this can might help you https://stackoverflow.com/questions/45019823/is-there-any-sample-for-angular-libphonenumber-with-angular-2-or-higher – nkitku Dec 27 '18 at 20:10
-
You should use the **Regex**. – fiza khan Dec 29 '18 at 05:21
1 Answers
1
https://github.com/amarkes/br-masker-ionic-3 also, you can create a mask .

Péttrin Miranda
- 279
- 3
- 13