Finds the specified regular expression pattern and replaces it with the new text
ReplaceRegexp("price 100 EUR", "EUR|GBP", "USD") → "price 100 USD" ReplaceRegexp("1999", "[9]", "0") → "1000"
ReplaceRegexp(string, searchRegexp, replaceWith, [isCaseSensitive], [allMatches])
string - A text value to search in
string
searchRegexp - Regular expression to search for
searchRegexp
replaceWith - Text to replace with
replaceWith
[isCaseSensitive] - [optional: true by default**]** - Set false if search should be case insensitive
[isCaseSensitive]
true
false
[allMatches] - [optional: true by default**]** - Set false if only the first match should be replaced
[allMatches]