wwRegEx::aStripExpressions

o.aStripExpressions(@laMatches,@laText,lcPattern,lcReplaceWith)

Returns

Number of matches

Parameters

@laMatches
An array that receives the matched expressions. Pass by Reference

@lcText
The text to work on. Pass by reference so the changes are reflected when the call returns.

lcPattern
The RegEx pattern to find matches with.

lcReplaceWith
The static text to replace each match instance with.

See also