in reply to Regex for replacement
Note, I used '!' as the quoting delimiter to avoid the need for escaped slashes.
Dave