RegexStringValidator public class RegexStringValidator : ConfigurationValidatorBase Provides validation of a string based on the rules provided by a regular expression. Documentation Code public RegexStringValidator(string regex) Initializes a new instance of the RegexStringValidator class.