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. In addition to the types contained in this namespace, the System.Configuration.RegexStringValidator class enables you to determine whether a particular string conforms to a regular expression pattern.

Public classCaptureRepresents the results from a single successful subexpression capture.
Public classCaptureCollectionRepresents the set of captures made by a single capturing group.
Public classGroupRepresents the results from a single capturing group.
Public classGroupCollectionReturns the set 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 classRegexCompilationInfoProvides information about a regular expression that is used to compile a regular expression to a stand-alone assembly.
Public classRegexRunnerInfrastructure. The RegexRunner class is the base class for compiled regular expressions.
Public classRegexRunnerFactoryInfrastructure. Creates a RegexRunner class for a compiled regular expression.

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.