Like global search and replace but don’t like surprises?
Check out serpl – a handy little command-line app that gives you a visual preview of the changes you are about to make. You can even go in and remove the replacements you don’t want from the source previews. The regex support appears to be basic, however (I couldn’t get a negative lookbehind to work).
https://github.com/yassinebridi/serpl#readme
(Also, it appears they’re looking for maintainers. It’s written in Rust.)