From: "Roland Reichenberg" <r.reichenberg@gmx.de>
Subject: how to flush lines that do NOT include characters 'FK'
Date: Thu, 7 Aug 2003 13:41:17 +0200 [thread overview]
Message-ID: <bgtekk$j48$1@news.nrw.net> (raw)
Hi NG,
in my buffer, I want to flush all lines that do NOT contain the letters "FK"
My buffer contains lots of lines like:
laksjdfh
oqwirutz
095876
mxvb
aelkdjfFKddd
dffff
kkkkss
kkssss
aeskldjfopqirt
iquirmvqkrik
owuiertznvc
q9prskladhf
FK_hhh20894
1s9845FK01
095678jf
ajfhlakjdfh
>From these lines I want to filter the follwing
aelkdjfFKddd
FK_hhh20894
1s9845FK01
Any suggestions for a REGEXP?
I have tried the following:
M-x flush-lines [^FK]
But without success.
Who can help?
Thanks in advance,
Roland
next reply other threads:[~2003-08-07 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-07 11:41 Roland Reichenberg [this message]
2003-08-07 12:11 ` how to flush lines that do NOT include characters 'FK' lawrence mitchell
2003-08-07 12:08 ` Roland Reichenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='bgtekk$j48$1@news.nrw.net' \
--to=r.reichenberg@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.