filter and increment number inside of element using javascript
<p>I have this HTML code:</p>

<pre><code>&lt;div&gt;
    756
    &lt;span&gt;&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>now using javascript I am trying to retriev the number from the div and increment it by 1. But I can not seem to figure out how to filter the <code>&lt;span&gt;</code> out of my variable and then increment only the number.</p>

<p>Might you guys have any idea on how to achieve this?</p>

<p>Thanks for your tips!</p>
