@jordy1955: I've been using
https://regex101.com/
to try various regex things and see what they do. It's been a lot of help.
One thing to note, though, the replacement character they use there is a $ instead of the \ used in Calibre's editor. So, if you wanted to test davidfor's replacement string of:
there, you'd have to use: