System.ComponentModel.DataAnnotations.RegularExpressionAttribute
Specifies that a data field value in ASP.NET Dynamic Data must match the specified regular expression.
namespace System.ComponentModel.DataAnnotations
{
public class RegularExpressionAttribute : ValidationAttribute
{
public int MatchTimeoutInMilliseconds { get; set; }
public string Pattern { get; }
public RegularExpressionAttribute(string pattern);
}
}