Insert a string on regex match in ruby
<pre><code>str = "This website is &lt;a href='www.google.com'&gt;Google&lt;/a&gt;, some other website is &lt;a href='www.facebook.com'&gt;Facebook&lt;/a&gt;"
style_to_add = "style='text-decoration:none;'"
</code></pre>

<p>I want to add the <code>style_to_add</code> string to every hyperlink. So the result becomes</p>

<pre><code>str = "This website is &lt;a href='www.google.com' style='text-decoration:none;&gt;Google&lt;/a&gt;, some other website is &lt;a href='www.facebook.com' style='text-decoration:none;&gt;Facebook&lt;/a&gt;"
</code></pre>