string.replace.regex
Syntax
Replaces anything that matches the regular expression sreg in string source with the contents of srep, and returns the new string.
snew - The new string after the replacement.
source - The string to scan for matches to sreg. sreg - The regular expressed used to find a match. srep - The string used to replace the contents that match sreg.
string.replace
string.simplify
9.1.13