[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regexp replacement problem
From: |
Andreas Röhler |
Subject: |
Re: Regexp replacement problem |
Date: |
Sat, 28 Sep 2013 18:50:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Am 28.09.2013 17:05, schrieb JJ. Rétorré:
I want to be prompted for a replacement string for each `l'
in
\begin{tabular}{lrlllcc}
matching p{?cm}.
I tried
M-x replace-regexp <RET> l <RET> p{\?cm} <RET>
but it doesn't work (nor \? only).
Help me!
M-x query-replace ...
will prompt you.
When replacing just a string, no regexp is needed.
Otherwise
M-x query-replace-regexp ...