in reply to XML / regex - cleaning up attributes

The second will not as the text tag contains embedded ' marks. Is there a regex that will remove this extra punctuation but leave the rest of the attribute (and tag) intact?

Complain upstream to whomever thinks they're supplying XML, because they are not, seriously :/

  • Comment on Re: XML / regex - cleaning up attributes