From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tho643@gmail.com Newsgroups: gmane.emacs.help Subject: Search and replace Date: Fri, 13 Jun 2008 14:09:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8a1207d0-febc-40a6-9fd5-15e1afb9d313@w34g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213403628 16811 80.91.229.12 (14 Jun 2008 00:33:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 00:33:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 02:34:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7Jiy-0008D0-3g for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jun 2008 02:34:32 +0200 Original-Received: from localhost ([127.0.0.1]:48893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7Ji9-0008V4-VZ for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jun 2008 20:33:42 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w34g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 66.8.224.133 Original-X-Trace: posting.google.com 1213391383 10935 127.0.0.1 (13 Jun 2008 21:09:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 13 Jun 2008 21:09:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w34g2000prm.googlegroups.com; posting-host=66.8.224.133; posting-account=mW0BMQoAAAAhTECwL1aWPLsBBLta3PZP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.13) Gecko/20080208 Epiphany/2.22 Firefox/2.0.0.13,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159450 X-Mailman-Approved-At: Fri, 13 Jun 2008 20:33:23 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54808 Archived-At: 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