FAR is a simple tool for search and replace operations over multiple files. You can apply ordinary "word by word" replacement, or choose to use fully featured regular expressions.
FAR automatically creates backups (unless you deselect this option) and is designed to operate on files dispersed over entire directory trees.
For your comfort you may define search strings that span multiple lines by just typing multiple lines - no obscure construct like "$\r?(?s:.)^" is required.
While all editors know "find and replace", and many support regular expressions, there is only a few that allows to:
Change a selection of files from different directories at once.
Allow search (and replace) patterns that span multiple lines.