- October 30, 2009 at 6:08 pm #7757
I want to do the following.
1. Search a keyword in a file
2. Mark all the lines that contains this keyword.
3. Delete all these lines.
I know some other tools allow users to mark all the lines that contain a specific keyword, then users can delete all the marked lines.
Can EmEditor do it?
Thanks.November 1, 2009 at 5:01 pm #7770
I guess it can be implemented with find & replace using regular expression, but I’m not good at it. :-(November 4, 2009 at 5:53 pm #7774
Could easily be done with regular expression.
Could search for:
and replace with nothing. That should remove all lines that contain the word “keyword”. Just change “keyword” into whatever you would like to search for.
You must be logged in to reply to this topic.