Replacere

Description
Finds all valid matches within the source string using a regex pattern and replaces them with the desired text.

Syntax
matchre

Parameters

 * source
 * any text
 * pattern
 * any regex pattern to find on or more of within the source text
 * replacement
 * any text to replace the matches with

Examples
var sourcetext Hello World eval result replacere("%sourcetext","\w\s","'s" Result: Hell'sWorld