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 as if Match were called numerous times.

Name Description
Regex.Matches (String) Searches the specified input string for all occurrences of a regular expression.

Supported by the .NET Compact Framework.

Regex.Matches (String, Int32) Searches the specified input string for all occurrences of a regular expression, beginning at the specified starting position in the string.

Supported by the .NET Compact Framework.

Regex.Matches (String, String) Searches the specified input string for all occurrences of the regular expression specified in the pattern parameter.

Supported by the .NET Compact Framework.

Regex.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.

Supported by the .NET Compact Framework.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft