Utilizing EmEditor for Targeted File Cleanup: Delete Only Select Line Patterns

Utilizing EmEditor for Targeted File Cleanup: Delete Only Select Line Patterns

Steven Lv8

Utilizing EmEditor for Targeted File Cleanup: Delete Only Select Line Patterns

Viewing 2 posts - 1 through 2 (of 2 total)

  • Author
    Posts
  • July 31, 2010 at 12:16 pm #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 ?
    July 31, 2010 at 2:31 pm #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 :-)
  • Author
    Posts

Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.

Also read:

https://techidaily.com
  • Title: Utilizing EmEditor for Targeted File Cleanup: Delete Only Select Line Patterns
  • Author: Steven
  • Created at : 2024-11-07 19:48:15
  • Updated at : 2024-11-12 19:31:08
  • Link: https://win-advanced.techidaily.com/utilizing-emeditor-for-targeted-file-cleanup-delete-only-select-line-patterns/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Utilizing EmEditor for Targeted File Cleanup: Delete Only Select Line Patterns