RegExOptions.ReplaceAllMatches

From Xojo Documentation

Property (As Boolean )
aRegExOptions.ReplaceAllMatches = newBooleanValue
or
BooleanValue = aRegExOptions.ReplaceAllMatches

Supported for all project types and targets.

Indicates whether all occurrences of the pattern are to be replaced. The default is False.