ASP.NET Syntax ASP.NET Page Syntax
The Microsoft® .NET Framework SDK provides an extensive set of regular expression tools that enable you to efficiently create, compare, and modify strings as well as rapidly parse large amounts of text and data to search for, remove, and replace text patterns.
This section details the set of characters, operators, and constructs that you can use to define regular expressions.
- Character Escapes
- Provides a signal to the regular expression parser that the character is not an operator and should be interpreted as a matching character.
- Substitutions
- Provides special constructs used in a replacement pattern.
- Character Classes
- Provides the set of characters that define the substring to match.
- Regular Expression Options
- Provides options that modify a regular expression pattern’s matching behavior.
- Atomic Zero-Width Assertions
- Provides information that causes a match to succeed or fail depending on the regular expression parser’s current position in the input string.
- Quantifiers
- Provides optional quantity data to regular expression matches. Quantifiers apply to the character, group, or character class that immediately precedes the quantifier.
- Grouping Constructs
- Provides information that cause a regular expression to capture groups of subexpressions.
- Backreference Constructs
- Provides information that adds backreference modifiers to a regular expression.
- Alternation Constructs
- Provides information that modifies a regular expression to allow either/or matching.
- Miscellaneous Constructs
- Provides constructs that modify regular expression matching behavior.