title: Find and alter links with js in a text
body: <p>I have a text that must be send as an email. But to give the mail its layout we need to add some style.
  What we must do is the following:
  1 find in a text one or more links with this format </p>
  
  <pre><code>&lt;a href="RANDOM URL HERE"&gt;RANDOM TEXT&lt;/a&gt;
  </code></pre>
  
  <p>2 change the links into this format:</p>
  
  <pre><code>&lt;a href="RANDOM URL HERE" style="color: #FFFFFF; text-decoration: none;"&gt;&lt;span style="color: #FFFFFF;"&gt;RANDOM TEXT&lt;/span&gt;&lt;/a&gt; 
  </code></pre>
  
  <p>I have no idea how i can best do this, with regex or with DOM,...</p>
  
  <p>Many thanks!</p>