regex to match only quotes that aren't in links
<p>can you tell me how I can in javascript using regex to select quoted text, but not the one that is in the link</p>

<p>so I don't want to select these quotes <code>&lt;a href="some link"&gt;some text&lt;/a&gt;</code>
I want to select only normal quoted text</p>

<p>I used  </p>

<pre><code>result = content.replace(/"(.*?)"/g, "&lt;i&gt;$1&lt;/i&gt;"); 
</code></pre>

<p>to replace all quoted text with italic, but it replaces also href quotes</p>

<p>Thanks :)</p>