Answer the question
In order to leave comments, you need to log in
Notepad ++: deleting all lines of text without the occurrence of a substring - can it?
Good day.
Tell me: is it possible in Notepad ++ (perhaps in one of its versions) to delete all lines that do not contain an occurrence of a given substring? If yes, please tell me how it is done.
Otherwise, I would be grateful for information about another text editor that has similar capabilities.
Answer the question
In order to leave comments, you need to log in
other text editor that has similar features
cat "file.txt" | grep "my-string" > filtered.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question