replace icon indicating copy to clipboard operation
replace copied to clipboard

Option to delete matching lines

Open harthur opened this issue 12 years ago • 3 comments

This would be useful for removing console.log() lines.

harthur avatar Feb 21 '13 18:02 harthur

That can be done by replacing console.log() with empty string. eg: replace "console.log((.*));" "" foo.js So no need for delete option.

bhimsen92 avatar Feb 22 '13 07:02 bhimsen92

That will get rid of the statement, but will leave a newline. There still might be a way though...

harthur avatar Feb 22 '13 08:02 harthur

how about this: replace "console.log((.))\s;\s*" "" foo.js

bhimsen92 avatar Feb 22 '13 08:02 bhimsen92