Cleave.js is a javascript library to help you format input text content automatically.
Features
Website Demo