- Make sure the Regex Box is ticked
- Place your regex inside a capture group in your find box
()
e.g.\n(query \= \".+)\n
-query = text_here
will be stored in the first capture group - Use
$1
to use the captured group in the replace box
Created
June 11, 2020 01:55
-
-
Save JamesMarino/252402c074b8af6de4616f9d85566fb4 to your computer and use it in GitHub Desktop.
JetBrains Webstorm Find and Replace Capture Groups
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment