Replace

Replaces occurrences of the given regular expression pattern on the given string.

Syntax

String.Replace
   ·  [input]
   ·  [pattern]
   ·  [replacement]

Parameters

input
The string to modify.
pattern
A regular expression pattern.
replacement
The values to replace matches with.

Return Value

The original string with the values replaced.