Info Node: (efaq)Replacing text across multiple files
(efaq)Replacing text across multiple files
How do I perform a replace operation across more than one file?
===============================================================
The "tags" feature of Emacs includes the command
`tags-query-replace' which performs a query-replace across all the
files mentioned in the `TAGS' file. Note:Tags Search.
As of Emacs 19.29, Dired mode (`M-x dired <RET>', or `C-x d')
supports the command `dired-do-query-replace', which allows users to
replace regular expressions in multiple files.