Input masking for phone numbers without defining exact length