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: michael.l
Subject: Re: How to apply a list of regex replaces to multiple files?
Date: Tue, 1 Jul 2008 08:09:29 -0700 (PDT)
User-agent: G2/1.0

On Jul 1, 1:38 am, "Lennart Borgman (gmail)"
<address@hidden> wrote:
> 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.

I'll look into elisp...Struggled with perl to do this....


reply via email to

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