D
DeepDiver
I'm trying to parse a string of HTML that contains a mix of tags and text.
My goal is to match and replace double quote marks in the text (but not
within the tags) and replace them with the equivalent html character entity
(i.e., "
.
For example, this string:
The "slow" red fox.<div class="test">The "quick" brown fox.</div>
would become this:
The "slow" red fox.<div class="test">The "quick"
brown fox.</div>
TIA!!!
My goal is to match and replace double quote marks in the text (but not
within the tags) and replace them with the equivalent html character entity
(i.e., "
For example, this string:
The "slow" red fox.<div class="test">The "quick" brown fox.</div>
would become this:
The "slow" red fox.<div class="test">The "quick"
brown fox.</div>
TIA!!!