WebElementTextMatch Method |
Searches the specified input string for an occurrence of the regular expression supplied in the pattern parameter.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As WebElement
Dim pattern As String
Dim returnValue As String
returnValue = instance.TextMatch(pattern)
Parameters
- pattern
- Type: SystemString
The regular expression pattern to match.
Return Value
Type:
StringReturns an array of values if the regex has a group, a single value or empty
See Also