You would use a RegularExpressionValidator with the regular expression in the ValidationExpression property. The regular expression syntax should be the same.
These sites should help if you are not sure on the regular expression to use...
http://aspnet.4guysfromrolla.com/articles/022603-1.aspx
http://www.regular-expressions.info/