Help with RegEx Find/Replace Spanning Multiple Lines

Edit: I actually see a bug related to this was already posted at , but I would still be open to any suggestions for a workaround in the meantime.

I want to find and replace all content contained between ◆/ and /◆. (These are custom beginning and endpoints for comments I’ve made in an imported Word doc.) The following works to replace comments that are contained within a single paragraph:


However, I can’t figure out how to replace a comment that spans multiple paragraphs. I know this is because by default, a dot in RegEx does not match a new line, but I haven’t figured out a workaround. Can anyone help?

PS, I included the question mark because I don’t want matches to be greedy (i.e., because there are so many comments in the doc, I want to match one comment at a time rather than everything between the very first ◆/ and the very last /◆, if that makes sense.

Also note that I am using the latest version of the Windows beta, if that matters.

Thank you so much!