System.Text.RegularExpressions Namespace

July 28, 2014

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.

  ClassDescription
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.

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

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

Show:
© 2014 Microsoft