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

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

Search and replace for a single file using a pattern file


From: Angus Comber
Subject: Search and replace for a single file using a pattern file
Date: Thu, 4 Jan 2018 02:02:29 -0800 (PST)
User-agent: G2/1.0

I have some horrible logs where integers are printed for states and I want to 
do a global search and replace on the file to eg replace integer x with a 
string.

I can obviously do individually using c-m-% but that is fairly laborious.  So 
use of a search and replace mapping in a text file would be really convenient.

Is this possible?  any suggestions?


reply via email to

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