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: (
VB Usage
Dim instance As WebElement
Dim pattern As String
Dim returnValue As String

returnValue = instance.TextMatch(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