validates values against a predefined set of regular expressions