Thanks for the suggestions so far!
query-replace
does not seem to work across newlines (to my surprise).
foo[\s^J]bar
also does not work; I thought \s-
was supposed to match any whitespace, including newline, and not be interpreted as part of a range in this case.
This one below does work, and thank you! But as you say, it's kludgy. Is this really the best emacs can do to replace a phrase?! Why doesn't \s-
work in this context? Is there no way to match any whitespace?