RegExMatch.Replace Function

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.

Syntax
result = RegExMatch.Replace( [ReplacementPattern] )

Parameters
ReplacementPattern | String (Optional)

Return Value
Result | String

# Notes

Returns a String.