RegEx Home | .Net Regular Expression Syntax Summary | Add to Favorites
Regular expressions can be used to validate user input or some other data. This is achieved using Regex class from System.Text.RegularExpressions namespace. ASP.NET provides RegularExpressionValidator control specialized for validation of user input on web forms. More about both methods you can find at Data Validation With Regular Expressions In ASP.NET tutorial.
String to validate: Regular Expression: RegexOptions: Ignore Case Multiline Singleline IgnorePatternWhitespace RightToLeft CultureInvariant ExplicitCapture ECMAScript