Translations:Help:VisualEditor/User guide/Find and replace/8/en

If you capture subpattern using parentheses, you may reuse captured string in $1 field with ordered $2 variables.