UtilsReplace Method
Within a specified input string, replaces all strings that match a specified regular expression with a specified replacement string.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As Utils
Dim input As String
Dim pattern As String
Dim replacement As String
Dim returnValue As String

returnValue = instance.Replace(input, 
	pattern, replacement)

Parameters

input
Type: SystemString
The string to search for a match.
pattern
Type: SystemString
The regular expression pattern to match.
replacement
Type: SystemString
The replacement string.

Return Value

Type: String
A new string that is identical to the input string, except that a replacement string takes the place of each matched string.
See Also