replace
replace copied to clipboard
Option to delete matching lines
This would be useful for removing console.log() lines.
That can be done by replacing console.log() with empty string. eg: replace "console.log((.*));" "" foo.js So no need for delete option.
That will get rid of the statement, but will leave a newline. There still might be a way though...
how about this: replace "console.log((.))\s;\s*" "" foo.js