regular expression in javascript?
<p>I am new to javascript and recently I wanted to use regular expression in order to get a number from url and store it into a var as string and another var as digit. For example I want to get the number 55 from the bellow webpage (which is not an accrual page) and I want to store it in a var.
I tried this but it is not working</p>

<pre><code>https://www.google.com/55.html
    url.replace(/(\d+)(\.html)$/, function(str, p1, p2) {
                    return((Number(p1) + 1) + p2);
</code></pre>

<p>Please I need help but not with Jqurey because it does not make a lot of sense to me.</p>
