How to parse url with underscoreJS
<p>I have an url in this format:</p>

<pre><code>domain.com/update/item/1
</code></pre>

<p>How I could retrieve the number 1 from url (for instance, parsing the url) and make me able to use it?</p>

<p>To give some more details about the scenario:</p>

<ul>
<li>the page rendered associated with that url is a backbone template
called by a view</li>
<li>I need that value 1 to retrieve and than to use it in a html form</li>
<li>it will be useful if exsist a way to retrieve that value directly from the template page using the inline code (for istance, using &lt;%
codeHere %></li>
</ul>