Using RegEx capture groups in custom replacement language filters

hactor

New Member
Aug 20, 2023
1
0
Love the custom replacements in the language filters options, and that it accepts regex expressions for matching, but I can't seem to get capture groups to work, and I'm not sure if I just can't figure out the syntax, or if its just not possible?

Being able to use capture groups would be great for avoiding false positive matches and for highlighting speech and dynamic terms.

--Example--
Replace -> With
([\d]{1,2}) feet ([\d]{1,2}) inches -> $1 ft $2 in
Text: 5 feet 6 inches
Output: "$1 ft $2 in"
Expected: "5 ft 6 in"