Export (0) Print
Expand All

Regex.Match Method

Searches an input string for an occurrence of a regular expression and returns the precise result as a single Match object.

Name Description
Regex.Match (String) Searches the specified input string for an occurrence of the regular expression specified in the Regex constructor.

Supported by the .NET Compact Framework.

Regex.Match (String, Int32) Searches the input string for an occurrence of a regular expression with a specified input string starting position.

Supported by the .NET Compact Framework.

Regex.Match (String, String) Searches the specified input string for an occurrence of the regular expression supplied in the pattern parameter.

Supported by the .NET Compact Framework.

Regex.Match (String, Int32, Int32) Searches the input string for an occurrence of a regular expression with a specified input string starting position and input string length.

Supported by the .NET Compact Framework.

Regex.Match (String, String, RegexOptions) Searches the input string for an occurrence of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft