This is the only standalone command line tool that I'm aware of, that is able
to search & replace text in multiple files with the help of regex expressions.
Unfortunately it isn't developed any more but I still use it on a regular basis...
https://sites.google.com/site/regexreplace/
Small, very fast, a perfect companion for XY scripts when you need to do
something on a multitude of files
rxrepl - CLI tool for regex file manipulations
rxrepl - CLI tool for regex file manipulations
One of my scripts helped you out? Please donate via Paypal