How to Delete Searches Instantly?
-
Hello all, hope you doing well, I need help with something. So I searched for a letter, and the result is almost 4000 found. I want to delete all lines which include “#” how do I gonna do that? Is there anything to do that instantly?

-
Hello, @meтe-ялчынкая and All,
Very easy with regular expressions or bookmarks !
-
A) With bookmarks :-
Open the Mark dialog (
Ctrl + M) -
SEARCH
# -
Untick all the options
-
Tick the
Bookmark lineoption -
Tick the
Wrap aroundoption -
Click on the
Mark Allbutton -
Then, run the menu option
Search > Bookmark > Remove Bookmarked Lines
-
-
B) With regular expressions ( faster ! )-
Open the Replace dialog (
Ctrl + H) -
SEARCH
(?-s)^.*#.*\R -
REPLACE
Leave EMPTY -
Untick all the options
-
Tick the
Wrap aroundoption -
Click on the
Replace Allbutton
-
The search regex searches, from beginning of line (
^) for any range of standard characters, even none (.*), followed with a#char, and again, with any range of standard characters, even none(.*), till the EOL characters of current line (\R)Best regards
guy038
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login