Get number from HTML id using Javascript
<p>Alright, so I have an HTML element as <code>&lt;div id="slide_item_#"&gt;</code> where <code>#</code> is a number. What I would like to do, using Javascript, is get the number from the id. So I would assume a regular expression, I just don't know how to use them in Javascript.</p>

<pre><code>var html_id = "slide_item_3";
var id_number = /* code here so that id_number == 3 */ ;
</code></pre>
