Answer the question
In order to leave comments, you need to log in
How to clear a text file from lines that do not contain certain characters?
Hello. In the file, each line must contain "yandex" or "google". If it doesn't, then delete the line. How to do this?
Answer the question
In order to leave comments, you need to log in
notepad++
How to delete lines through bookmarks
1. Menu -> Search -> Marks -> [enter what we are looking for] -> Bookmark (check the box) -> Mark all
2. Menu -> Search -> Bookmarks -> Delete all lines No bookmark
PS: [enter what we are looking for] - you can enable regex expressions and enter:yandex|google
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question