replaceRegEx

Uses a regular expression to perform substitution on a sequence of characters

Syntax

replaceRegEx(source, wildCard, replace, flags)

Returns

returns (string) results

Parameters

source (string)
the source text data
wildCard (string)
the regex that will be matched against the input sequence
replace (string)
the regex replacement format string, syntax depends on flags
flags (string)
combine flags separated by ;