Samuel Murray wrote:
In other words, (1) it only selects up to the last bit of non-tag text in the segment, and (2) if the selection contains a tag, it removes the tag in the replacement.
What would the correct syntax be for what I'm looking for?
Can't help myself Samuel, other than to confirm that as a C#-style (.NET) regex your regex seems to work fine on raw text. So it's a Studio issue. Interesting, if annoying.