ReplaceRegexp
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"Inputs
ReplaceRegexp(string, searchRegexp, replaceWith, [isCaseSensitive], [allMatches])
string- A text value to search insearchRegexp- Regular expression to search forreplaceWith- Text to replace with[isCaseSensitive]- [optional:trueby default**]** - Setfalseif search should be case insensitive[allMatches]- [optional:trueby default**]** - Setfalseif only the first match should be replaced
Last updated
Was this helpful?