I want to find all instances of quotation marks inside <i> tags
and then replace all so that the quotation marks are on the outside, but I'm coming up empty. Placing "|" in the replace field merely does a literal character replacement. And breaking up the search into four parentheticals, and trying to backreference them also didn't work. Obviously, this is an exceedingly straighforward search/replace action in two steps, but I'm wondering if there's a magic bullet out there that can get it done in a single step (that is, a single action that combines both searches and yields the desired replacement values).
I was using the following test string:
Code:
<p><i>“Hello, I love you,”</i> I said.</p>
<p><i>“Won't you tell me your name?”</i></p>
with the desired result of
Code:
<p>“<i>Hello, I love you,</i>” I said.</p>
<p>“<i>Won't you tell me your name?</i>”</p>