Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

$RegexReplace

Searches for and replaces text in a string using a regular expression.

Script usage:

$RegexReplace(Text, MatchExpression, ReplaceWith)

Parameters:

NameDescription
TextThe string to search for replacements.
MatchExpressionThe regular expression used to search the first argument.
ReplaceWithThe substring to replace occurrences of the second parameter with.