Collapse the table of content
Expand the table of content

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.

Public classCaptureRepresents the results from a single subexpression capture.
Public classCaptureCollectionRepresents the set of captures made by a single capturing group.
Public classGroupRepresents the results from a single capturing group.
Public classGroupCollectionRepresents a collection of captured groups in a single match.
Public classMatchRepresents the results from a single regular expression match.
Public classMatchCollectionRepresents the set of successful matches found by iteratively applying a regular expression pattern to the input string.
Public classRegexRepresents an immutable regular expression.
Public classRegexMatchTimeoutExceptionThe exception that is thrown when the execution time of a regular expression pattern-matching method exceeds its time-out interval.

Public delegateMatchEvaluatorRepresents the method that is called each time a regular expression match is found during a Replace method operation.

Public enumerationRegexOptionsProvides enumerated values to use to set regular expression options.

© 2017 Microsoft