RegexIsMatch Method (String, String, RegexOptions) |
Indicates whether the specified regular expression finds a match in the specified
input string, 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 bool IsMatch(
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:
Booleantrue if the regular expression finds a match; otherwise, false.
See Also