RegexMatch Method (String, String, RegexOptions) |
Searches the input string for the first occurrence of the specified regular
expression, using the specified matching options.
Namespace: System.Text.RegularExpressionsAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public static Match Match(
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 provide options for
matching.
Return Value
Type:
MatchAn object that contains information about the match.
See Also