How to append to all urls in a string?
<p>How should I go about appending to the end of all urls in string of html that is about to be sent out as as email? I want to add the google analytics campaign tracking to it like this:<br>
<code>?utm_source=email&amp;utm_medium=email&amp;utm_campaign=product_notify</code></p>

<p>99% of the pages will not end in '.html' and some urls might already have things like <code>?sr=1</code> at the end of them.</p>
