G
G
Grigory Shturkin2015-11-16 09:24:47
Notepad++
Grigory Shturkin, 2015-11-16 09:24:47

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

1 answer(s)
A
Alexey Ukolov, 2015-11-16
@Greshnick

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 question

Ask a Question

731 491 924 answers to any question