Skip to content

Instantly share code, notes, and snippets.

@priccis
priccis / FindReplaceRegex.md
Last active September 20, 2018 01:01
Find & Replace with regex

How to find and replace using regex to replace by group

(At least in VSCode)

  • use () to capture the group in find
  • replace with that group using $<number-of-group>

Example

Original:

"JOV":{"Dir": {"":"1011011"}}