The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
System.Text.RegularExpressions Namespace
.NET Framework 2.0
The System.Text.RegularExpressions namespace contains classes that provide access to the.NET Framework regular expression engine. The namespace provides regular expression functionality that may be used from any platform or language that runs within the Microsoft.NET Framework.
| Class | Description | |
|---|---|---|
![]() | Capture | Represents the results from a single subexpression capture. Capture represents one substring for a single successful capture. |
![]() | CaptureCollection | Represents a sequence of capture substrings. CaptureCollection returns the set of captures done by a single capturing group. |
![]() | Group | Group represents the results from a single capturing group. A capturing group can capture zero, one, or more strings in a single match because of quantifiers, so Group supplies a collection of Capture objects. |
![]() | GroupCollection | Represents a collection of captured groups. GroupCollection returns the set of captured groups in a single match. |
![]() | Match | Represents the results from a single regular expression match. |
![]() | MatchCollection | Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string. |
![]() | Regex | Represents an immutable regular expression. |
![]() | RegexCompilationInfo | Provides information that the compiler uses to compile a regular expression to a stand-alone assembly. |
![]() | RegexRunner | The RegexRunner class is the base class for compiled regular expressions. |
![]() | RegexRunnerFactory | Creates a RegexRunner class for a compiled regular expression. |
| Delegate | Description | |
|---|---|---|
![]() | MatchEvaluator | Represents the method that is called each time a regular expression match is found during a Replace method operation. |
| Enumeration | Description | |
|---|---|---|
![]() | RegexOptions | Provides enumerated values to use to set regular expression options. |
Community Additions
Show:


