VS Code tips — Using regex capture groups in find replace

Published: 02 April 2020
on channel: Code 2020
25,329
470

Today's VS Code tip: regex groups in replace

When using regular expressions in find replace, you can reference capture groups in the replacement using $1, $2, and so on. Use $0 to reference the entire match

This can be a useful way to transform text


On this page of the site you can watch the video online VS Code tips — Using regex capture groups in find replace with a duration of hours minute second in good quality, which was uploaded by the user Code 2020 02 April 2020, share the link with friends and acquaintances, this video has already been watched 25,329 times on youtube and it was liked by 470 viewers. Enjoy your viewing!