visual studio code find and replace regex get match in replace 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,...