From: tho643@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Search and replace
Date: Fri, 13 Jun 2008 14:09:43 -0700 (PDT) [thread overview]
Message-ID: <8a1207d0-febc-40a6-9fd5-15e1afb9d313@w34g2000prm.googlegroups.com> (raw)
Here's an example of what I'm trying to do in my emacs console:
me@your-domain.com
you@my-domain.com
this@no-domain.com
Now after a search and replace this is what I want to get:
your-domain.com
my-domain.com
no-domain.com
I do not konw how to get rid of the 'me' 'you' 'this' and '@' in one
search and replace command. I know how to change the @, but how would
be able to delete it, and everything else that happens to come before
it, on the same line. I hope this makes sense to you.
Thanks
next reply other threads:[~2008-06-13 21:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 21:09 tho643 [this message]
2008-06-13 21:59 ` Search and replace Marc Tfardy
2008-06-14 3:13 ` Barry Margolin
2008-06-14 10:48 ` Marc Tfardy
-- strict thread matches above, loose matches on Subject: below --
2004-07-03 20:57 search " David Rasmussen
2004-07-03 23:02 ` Mike Ballard
2004-07-27 23:06 ` David Combs
2004-07-03 23:04 ` Mike Ballard
2004-07-03 23:07 ` David Rasmussen
2004-07-04 9:14 ` Ole Laursen
2004-07-04 9:27 ` David Rasmussen
2004-07-04 15:51 ` Ole Laursen
2004-07-04 16:02 ` Josh Howard
2004-07-04 23:32 ` Mike Ballard
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=8a1207d0-febc-40a6-9fd5-15e1afb9d313@w34g2000prm.googlegroups.com \
--to=tho643@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.