vscode delete all lines containing code example
Example 1: visual code remove line which contains
^.*my phrase*$\n
Then replace with empty
Ex:
"
text ghfsdhf
my phrase
"
||
||
"
text
"
Example 2: vs code delete empty lines
in find & replace put ^\n with regex enabled in find and rpelace with blank.