Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Match(String) Searches the specified input string for the first occurrence of the regular expression specified in the Regex constructor.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Match(String, Int32) Searches the input string for the first occurrence of a regular expression with a specified input string starting position.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 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 Silverlight for Windows Phone Supported by Xbox 360 Match(String, Int32, Int32) Searches the input string for the first occurrence of a regular expression with a specified input string starting position and input string length.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Match(String, String, RegexOptions) Searches the input string for the first occurrence of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.