Share via


System.Text.RegularExpressions Namespace

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains classes that provide access to the regular expression engine

Classes

  Class Description
Public class Capture Represents the results from a single successful subexpression capture.
Public class CaptureCollection Represents the set of captures made by a single capturing group.
Public class Group Represents the results from a single capturing group.
Public class GroupCollection Returns the set of captured groups in a single match.
Public class Match Represents the results from a single regular expression match.
Public class MatchCollection Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.
Public class Regex Represents an immutable regular expression.
Public class RegexCompiler Compiles a pattern string into a regular expression program.
Public class RegexpSyntaxException Provides the exception thrown to indicate a syntax error in a regular expression.

Delegates

  Delegate Description
Public delegate MatchEvaluator Represents the method that is called each time a regular expression match is found during a Replace method operation.

Enumerations

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