Replace quotes after double quotes in string : <p>I have following string:</p>

<pre><code>&lt;something=""Some" random string"  somethingelse="Another "random" string"&gt;
</code></pre>

<p>I need to change it to this</p>

<pre><code>&lt;something="&amp;quot;Some&amp;quot; random string"  somethingelse="Another &amp;quot;random&amp;quot; string"&gt;
</code></pre>

<p>Basically leaving the 'outer' quotes and changing the quotes inside them to <code>&amp;quot;</code></p>

<p>I thought some regex might be used to do this, but I'm not sure what the logic should be. Any idea?</p>
