Translations:Extension:RegexFunctions/58/en

an excellent substitute for using nested $1 commands when you need to perform a sequence of replaces on a single text string.