[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete non-matching lines
From: |
Martin |
Subject: |
Re: delete non-matching lines |
Date: |
Wed, 12 Aug 2009 07:54:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
Nachiket Gokhale writes:
> How do I delete all lines starting with
>
> "ESPN"
>
> And, the opposite:
>
> How do I delete all lines not starting with
>
> "ESPN"
>
> Thanks in advance,
>
> -Nachiket
delete-matching-lines M-x ... RET
Delete lines containing matches for REGEXP.
delete-non-matching-lines M-x ... RET
Delete all lines except those containing matches for REGEXP.
Martin
--
parozusa at web dot de