What's the best way to grab the number in this url string with jQuery or vanilla javascript?
<pre><code>"/organizations/1/media/videos/11"
</code></pre>

<p>I would like to just grab that <code>1</code> . Not sure how to exactly do that.</p>

<p>Any ideas?</p>
