help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new member


From: Pascal Bourguignon
Subject: Re: new member
Date: Thu, 05 Oct 2006 04:43:15 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"minidiapolis" <minidiapolis@hotmail.com> writes:

> Hello, I don't know if I'm in the right group.  I'm a relatively new
> user to Emacs and I was wondering how I would do a search and have it
> delete the specific text.  if someone could help me out, I would really
> appreciate it.  Thanks, Mindy

Interactively:    M-x replace-regexp RET <some-regexp> RET RET

Programmatically: (while (re-search-forward "<some-regexp>" nil t)
                     (delete-region (match-beginning) (match-end)))


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

PLEASE NOTE: Some quantum physics theories suggest that when the
consumer is not directly observing this product, it may cease to
exist or will exist only in a vague and undetermined state.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]