Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
System.Text.RegularExpressions

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.

  Class Description
Public class Supported by Portable Class Library Capture Represents the results from a single successful subexpression capture.
Public class Supported by Portable Class Library CaptureCollection Represents the set of captures made by a single capturing group.
Public class Supported by Portable Class Library Group Represents the results from a single capturing group.
Public class Supported by Portable Class Library GroupCollection Returns the set of captured groups in a single match.
Public class Supported by Portable Class Library Match Represents the results from a single regular expression match.
Public class Supported by Portable Class Library MatchCollection Represents the set of successful matches found by iteratively applying a regular expression pattern to the input string.
Public class Supported by Portable Class Library Regex Represents an immutable regular expression.To browse the .NET Framework source code for this type, see the Reference Source.
Public class RegexCompilationInfo Provides information about a regular expression that is used to compile a regular expression to a stand-alone assembly.
Public class RegexMatchTimeoutException The exception that is thrown when the execution time of a regular expression pattern-matching method exceeds its time-out interval.
Public class RegexRunner Infrastructure. The RegexRunner class is the base class for compiled regular expressions.
Public class RegexRunnerFactory Infrastructure. Creates a RegexRunner class for a compiled regular expression.

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

  Enumeration Description
Public enumeration Supported by Portable Class Library RegexOptions Provides enumerated values to use to set regular expression options.
Show:
© 2015 Microsoft