Export (0) Print
Expand All

Regex.Match Method

Searches an input string for a substring that matches a regular expression pattern and returns the first occurrence as a single Match object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Match(String) Searches the specified input string for the first occurrence of the regular expression specified in the Regex constructor.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Match(String, Int32) Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position in the string.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Match(String, String) Searches the specified input string for the first occurrence of the regular expression supplied in the pattern parameter.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Match(String, Int32, Int32) Searches the input string for the first occurrence of a regular expression, beginning at the specified starting position and searching only the specified number of characters.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Match(String, String, RegexOptions) Searches the input string for the first occurrence of the regular expression supplied in a pattern parameter, using the matching options supplied in the options parameter.
Top

Community Additions

ADD
Show:
© 2014 Microsoft