[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete text block with regexp
From: |
Oliver Scholz |
Subject: |
Re: delete text block with regexp |
Date: |
Sun, 16 Nov 2003 11:19:20 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) |
Herbert Fritsch <herbfritsch@t-online.de> 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?
C-M-% ^beginword\(?:.\|<newline>\)*lastword$ RET RET
|-----|
^
|
|
Press `C-q C-j' here. -----+
Oliver
--
26 Brumaire an 212 de la Révolution
Liberté, Egalité, Fraternité!
- delete text block with regexp, Herbert Fritsch, 2003/11/16
- Re: delete text block with regexp,
Oliver Scholz <=
- Re: delete text block with regexp, Alex Schroeder, 2003/11/16
- Re: delete text block with regexp, Stefan Monnier, 2003/11/16
- Re: delete text block with regexp, Edi Weitz, 2003/11/16
- Re: delete text block with regexp, Stefan Monnier, 2003/11/17
- Re: delete text block with regexp, Edi Weitz, 2003/11/17
- Re: delete text block with regexp, Stefan Monnier, 2003/11/17
- Re: delete text block with regexp, Oliver Scholz, 2003/11/17
- Re: delete text block with regexp, Edi Weitz, 2003/11/17