Namespace: System.Text.RegularExpressions

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.

Members of System.Text.RegularExpressions Namespace

Classes
Class Description
class Capture Represents the results from a single subexpression capture. represents one substring for a single successful capture. 
class CaptureCollection Represents a sequence of capture substrings. returns the set of captures done by a single capturing group. 
class 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 supplies a collection of Capture objects. 
class GroupCollection Represents a collection of captured groups. returns the set of captured groups in a single match. 
class Match Represents the results from a single regular expression match. 
class MatchCollection Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string. 
class Regex Represents an immutable regular expression. 
class RegexCompilationInfo Provides information that the compiler uses to compile a regular expression to a stand-alone assembly. 
class RegexRunner This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code  
class RegexRunnerFactory This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Supports the Shared Source CLI infrastructure and is not intended to be used directly from your code  

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

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

Namepace hierarchy

Copyright (c) 2002 Microsoft Corporation. All rights reserved.