Mask for entering and displaying data in Char fields

Is it possible to use a mask to enter and display data in Char fields?
(Something like inputMask property of QLineEdit widget in Qt.)

We do not have such feature but you can define a domain on the Char field which tries to validate the input.
But it may be a good improvement to validate input using the domain.

I would like to enter the IP-address ( without dots or MAC-address (HH:HH:HH:HH:HH:HH) without colons, but the separators (dots, colons) should be visible when entering.

Well maybe you can do like the phone number on contact mechanism. Having a formatted and compact value synchronized.