Dired: replace text in multiple files

We recently looked at replacing text in buffers. Using dired, it is possible to do this in many files in a directory.

Start dired and mark files as described here. Then use Q to run query-replace on all marked files.