Share via


Regex.Matches Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Matches(String) Searches the specified input string for all occurrences of a regular expression.
Public methodSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Matches(String, String) Searches the specified input string for all occurrences of the regular expression specified in the pattern parameter.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported 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