[Top][All Lists]

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

Re: delete text block with regexp

From: Alex Schroeder
Subject: Re: delete text block with regexp
Date: Sun, 16 Nov 2003 19:19:29 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Herbert Fritsch <> writes:

> There are some text blocks. They all are different but beginn with the same
> word and end with the same "lastword*".There are many lines. How can I
> delete these blocks with regular expressions? 

The critical part is that "." matches anything but a newline.
Therefore use "\(.\|\n\)" for any character or a newline.

There is no substitute for experience.

reply via email to

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