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

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

Re: How to apply a list of regex replaces to multiple files?


From: Lennart Borgman (gmail)
Subject: Re: How to apply a list of regex replaces to multiple files?
Date: Tue, 01 Jul 2008 10:38:33 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

michael.l wrote:
I've browsed the messages here and have googled but don't see a clear
solution yet. I have about 900 documents to which I need to apply a
list of maybe 40 separate regex search and replaces. I would like to
feed a list of the regex expressions and replacements to emacs and
have it applied to a directory of the files. Any solutions? Keyboard
macros don't seem like the right solution....

Sounds like the best would be writing a small elisp function to do the job.




reply via email to

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