Bootstrap input mask phone allows you to easily format the input according to given pattern.

Detailed documentation and more examples you can find in our Bootstrap example Docs


Basic example