Input Mask in a Text or Number field

Apologies if this is already out there and if so, please feel free to delete it.

I would love to have the ability to add an input mask to my fields. Similar to how it can be done in Excel.