help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to kill line beginning with specific string


From: Peter Dyballa
Subject: Re: How to kill line beginning with specific string
Date: Thu, 19 Nov 2009 11:14:42 +0100


Am 18.11.2009 um 19:51 schrieb brooklynwhite:

Is there a simple way for me to search for and kill all of these lines
without having to repeatedly enter the search mode and type ctrl-k when the
line is found?


You can check with C-M-s ^2000 .*C-qC-j – it will high-light the matching lines. Once you're content you can use replace-regexp to replace all that matches the regular expression with nothing.

--
Greetings

  Pete

"Indentation?! I will show you how to indent when I indent your skull!"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]