Viewing 2 posts - 1 through 2 (of 2 total)Author Posts July 31, 2010 at 12:16 pm #8812 SalabimParticipantHi, Can you help me out, which function or snippet, or macro is able to do this : In an open text file, delete all lines that DO NOT contain the word the user entered in a prompt, or perhaps lines that DO NOT contain the word currently in the Clipboard cache. I have a big text file open, and I would like to filter out all lines that DO NOT contain the string “China”. Can you help me please ? July 31, 2010 at 2:31 pm #8814 CirilloParticipantHi, There’s a macro in the Library here. It extracts lines not containing a specified string to a new file. http://www.emeditor.com/modules/mydownloads/singlefile.php?cid=8&lid=170 Give it a try, hope that helps :-)Author Posts Viewing 2 posts - 1 through 2 (of 2 total)You must be logged in to reply to this topic.