vscode regex $1 replace with part of match code example
Example: using capture groups in find and replace vscode
// Given some regular expression
(?<capture_group>...)...(?<another_capture_group>...)
// You can reference them in your replace by using
$1, $2,...