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

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

Re: Help with query-replace-regexp


From: Kevin Rodgers
Subject: Re: Help with query-replace-regexp
Date: Tue, 01 Feb 2005 10:36:26 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Michael Preminger wrote:
> Id like to replace a nonspace followed by a space, with the same
> nonspace followed by a comma.
>
>
> how do I express it in a query-replace-regexp command?

C-M-% \([^ C-q SPC ]\) C-q SPC RET \1, RET

--
Kevin Rodgers

reply via email to

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