System.Text.RegularExpressions Namespace
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The System.Text.RegularExpressions namespace contains classes that provide access to the .NET Framework regular expression engine. The namespace provides regular expression functionality that can 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. |
![]() | CaptureCollection | Represents the set of captures made by a single capturing group. |
![]() | Group | Represents the results from a single capturing group. |
![]() | GroupCollection | Represents a collection 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. |
![]() | RegexMatchTimeoutException | The exception that is thrown when the execution time of a regular expression pattern-matching method exceeds its time-out interval. |
| 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. |
Show:


