Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Regex.Matches Method

Searches an input string for all occurrences of a regular expression and returns all the successful matches.

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 Matches(String) Searches the specified input string for all occurrences of a regular expression.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Matches(String, Int32) Searches the specified input string for all occurrences of a regular expression, beginning at the specified starting position in the string.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Matches(String, String) Searches the specified input string for all occurrences of the regular expression specified in the pattern parameter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Matches(String, String, RegexOptions) Searches the specified input string for all occurrences of the regular expression supplied in a pattern parameter with matching options supplied in an options parameter.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft