Export (0) Print
Expand All

System.Text.RegularExpressions Namespace

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.

Namespace hierarchy

Classes

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.

Delegates

Delegate Description
MatchEvaluator The delegate that is called each time a regular expression match is found during a Replace operation.

Enumerations

Enumeration Description
RegexOptions Provides enumerated values to use to set regular expression options.

See Also

.NET Framework Class Library

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft