WebElementTextMatches Method
Returns all the occurences matching the regular expression.

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 List

returnValue = instance.TextMatches(pattern)

Parameters

pattern
Type: SystemString
The regular expression pattern to match.

Return Value

Type: List
Array of strings or null
See Also