Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8812
    Salabim
    Participant

    Hi,

    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 ?

    #8814
    Cirillo
    Participant

    Hi,

    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 :-)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.