RegEx.ReplacementPattern

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aRegEx.ReplacementPattern = newStringValue
or
StringValue = aRegEx.ReplacementPattern

Supported for all project types and targets.

This is the replacement string, which can include references to substrings matched previously, via the standard '\1' or '$1' notation common in regular expressions.

Notes

This pattern is used either with the Replace property or passed to the RegExMatch class when Search returns, and subsequently used with Replace if no parameters are specified.