wwRegEx::Replace

o.Replace(lcSource,lcRegEx,lcReplace,llIsExpression)

Parameters

lcSource
The string that is to be searched

lcRegEx
The RegEx expression to be applied

lcReplace
The string or FoxPro expression that is to replace any matches.

llIsExpression
If lcReplace is a FoxPro expression set this parameter to .T.

If using an expression a variable called lcMatch can be used in the expression to represent the actual match string.

See also