In our application our customers are allowed to define a couple of reference fields, and the validation for these reference fields by way of a regular expression. The Validation Regex is saved into our database.
What is the best way to apply this regex as validation for an MVC text box field?