Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- October 30, 2009 at 6:08 pm #7757jackrabbitMember
Hi all,
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 #7770ToadLoadinMemberI 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 #7774ganParticipantCould easily be done with regular expression.
Could search for:
^.*keyword.*n
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.
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.