Indicates whether the regular expression finds a match in the input string using the regular expression specified in the pattern parameter.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As Utils
Dim input As String
Dim pattern As String
Dim returnValue As Boolean
returnValue = instance.IsMatch(input,
pattern)
Parameters
- input
- Type: SystemString
The string to search for a match. - pattern
- Type: SystemString
The regular expression pattern to match.
Return Value
Type:
Booleantrue if the regular expression finds a match; otherwise, false.
See Also