Use this wiki plugin to use a "regular expression" style search expression from another wiki page to search for and replace text in the body of the plugin (between the REGEX tags).
Parameters
Tiki Doc From Code error: regex not found
To use this plugin:
Place the search pattern (enclosed with forward slashes) and replacement text on a separate wiki page, separated by two colons ( :: ). For example:
/search pattern/::replacement text
Then enter that page name as the pageName parameter value of the plugin.
The text in the body of the plugin (between the REGEX tags) will be searched and each match of the search pattern will be replaced by the replacement text.