Jquery : find text from string which is not in DIV tag
<pre><code>if x = 'FName LName&lt;div class="soc-net-not" id="social_network_notification_853"&gt;3&lt;/div&gt;';
</code></pre>

<p>How do I extract only the portion 'FName LName' from the above string. I dont want div tags or its innerHTML</p>
