delete all words/lines containing "__" keybind?
-
hello, i was wondering if there was a keybind that would delete every word or line containing a specific letter or word. This would be a huge help for some things. thanks!
-
No, but you could create a replacement macro and then assign that to a keycombo.
Start with this replacement, assuming your word is
fooand you want to match its case, i.e., you don’t want to matchFOOorFoo, onlyfoo:Find:
(?-is)^.*?foo.*\R
Replace: make sure this box is empty
Options: Wrap around, Regular expression
Action: Replace allThis would match
foodand other parts of words containingfooas well, but if you don’t want that there are ways around it… -
@Alan-Kilborn
tysm it worked!
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