A few years ago (5 I believe) I was in the process of building an API / Framework for this. ASP.NET Dynamic Data supports the RegularExpressionAttribute class. Cool!
http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.regularexpressionattribute.aspx