Click or drag to resize
RegexMatches Method (String, String, RegexOptions)
Searches the specified input string for all occurrences of a specified regular expression, using the specified matching options.

Namespace: System.Text.RegularExpressions
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public static MatchCollection Matches(
	string input,
	string pattern,
	RegexOptions options
)

Parameters

input
Type: SystemString
The string to search for a match.
pattern
Type: SystemString
The regular expression pattern to match.
options
Type: System.Text.RegularExpressionsRegexOptions
A bitwise combination of the enumeration values that specify options for matching.

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