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: (
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)


Type: SystemString
The string to search for a match.
Type: SystemString
The regular expression pattern to match.
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