How to delete all lines that do NOT contain a certain word in Vim?
How to delete all lines that do NOT contain a certain word in Vim?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!
(superuser.com/users/43632/digitaljoel)digitaljoel |
(superuser.com/users/73016/yab)Yab |
(superuser.com/users/694320/mohre)MOHRE |
(superuser.com/users/128124/ciro-santilli-ourbigbook-com)Ciro Santilli OurBigBook.com |
A special thanks goes out to the (https://superuser.com/questions/265085/how-to-delete-all-lines-that-do-not-contain-a-certain-word-in-vim)Stackexchange community |
I wish you all a wonderful day! Stay safe :)
find-and-replace regex vim