WebElementTextMatch Method
Searches the specified input string for an occurrence of the regular expression supplied in the pattern parameter.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
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: String
Returns an array of values if the regex has a group, a single value or empty
See Also