RegExMatch.Replace

From Xojo Documentation

Method

RegExMatch.Replace([ReplacementPattern as String]) As String

Supported for all project types and targets.

Substitutes the matched result in a manner specified by the given ReplacementPattern.

Notes

If no ReplacementPattern is specified, it uses the ReplacementPattern which was specified in the RegEx object at the time of the search.