RegexMatches Method (String, String) |
Searches the specified input string for all occurrences of a specified regular
expression.
Namespace: System.Text.RegularExpressionsAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public static MatchCollection Matches(
string input,
string pattern
)
Parameters
- input
- Type: SystemString
The string to search for a match. - pattern
- Type: SystemString
The regular expression pattern to match.
Return Value
Type:
MatchCollection
A collection of the System.Text.RegularExpressions.Match objects found by
the search. If no matches are found, the method returns an empty collection
object.
See Also