I’ve been using Visual Studio Code for text transformation that I might have previously written a script to do. I just learned that replace functionality supports capture groups in regular expressions. For example, replacing "(\d+)" with $1.
"(\d+)"
$1