Picks out all expressions matched and replaces them with a specified string returning the matched strings as an array.
Useful in temporary document parsing when you need to strip out portions of a string perform formatting and then replace the original content.
Use aRestoreExpressions to restore the stripped expressions from the array.
Number of matches
An array that receives the matched expressions. Pass by Reference
The text to work on. Pass by reference so the changes are reflected when the call returns.
The RegEx pattern to find matches with.
The static text to replace each match instance with.
See also:Class wwRegEx
Comment or report problem with topic