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

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

Automate replace-regexp


From: Rodolfo Medina
Subject: Automate replace-regexp
Date: Sat, 25 Aug 2018 17:19:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi all...

In a document, I wish to automate the following two replace-regexp, immediately
one after the other, only within the current paragraph:

\\bar %[0-9]+     ->    \\bar
\\bar             ->    \\bar %\,(+ 2 \#)

How can I achieve that, defining a proper command...?

Thanks for any help,

Rodolfo




reply via email to

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