Sets a validation pattern. Supports ? - any character and # - any digit, all other characters represent themselves.
?
#
Empty string or null will disable the validation.