Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
Regex Class
Regex Methods
Matches Method

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker