From: "Herb Martin" <news@LearnQuick.com>
Subject: Regex search and replace End Of line
Date: Sat, 30 Aug 2003 17:32:07 GMT [thread overview]
Message-ID: <rc54b.20624$_B.1121119@twister.austin.rr.com> (raw)
I know this must be easy but have yet to find it in
help:
Goal: Search for pattern at end of line and remove the
pattern INCLUDING the line termination.
(Tried using several of the replace-regex functions
unsuccessfully.)
example--------------------------------------------------------
test text etc test text =
some stuff
test text etc test text =
some stuff
test text etc test text =
some stuff
-------------------result---------------------------------------
test text etc test text some stuff
test text etc test text some stuff
test text etc test text some stuff
----------------------------------------------------------------
FYI, it was mangled by email encoding.
--
Herb Martin
next reply other threads:[~2003-08-30 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 17:32 Herb Martin [this message]
2003-08-30 18:10 ` Regex search and replace End Of line Johan Bockgård
2003-08-30 19:23 ` Herb Martin
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='rc54b.20624$_B.1121119@twister.austin.rr.com' \
--to=news@learnquick.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).