Hello. I need a regular expression which can replace & with &, but only if it occurs in an href attribute. Which is to say, this:
<a href="http://localhost/?a=1&z=2">Fish & Chips</a>
should become
<a href="http://localhost/?a=1&z=2">Fish & Chips</a>
I could probably work it out, given an afternoon and an ounce of cocaine, but I have neither. Virtual bumlove to anyone who [does/can but doesn't]* help.
*delete according to how you feel about bumlove.