Formatting phone numbers with pattern.
This example show you how to format phone numbers with a patter
You will need the following library in your gradle.
Patterns + 1 (786) 1234 5678
Given a normalized phone number like +178612345678 we will get a formatted number with the provided pattern.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0