RegExMatch.Replace Property

Syntax

Replace as


Substitutes the matched result in a manner specified by the given ReplacementPattern. If no ReplacementPattern is specified, it uses the ReplacementPattern which was specified in the RegEx object at the time of the search.

Returns a String.