Hello, I have a problem with double quotes in classic ASP.
I want to replace double quotes " in a string. The string contains xml and I don't want to replace double quotes (for attributes) inside tags.
So if I wanted to replace double quotes with single quotes, I'd want my string to go from this:
<MyDinosaurDocument DocType="Brachysaurus">"Hello" said the little dinosaur</MyDinosaurDocument>
to this:
<MyDinosaurDocument DocType="Brachysaurus">'Hello' said the little dinosaur</MyDinosaurDocument>
I've tried using regular expressions and would like to fix this problem with them -- but I'm sadly out of my depth.
All and any help is greatly appreciated.