title: Extracting number ID from a URL in Javascript
body: <p>Similar to my previous question:</p>
  
  <p><a href="https://stackoverflow.com/questions/3300433/spliting-a-string-in-javascript">spliting a string in Javascript</a></p>
  
  <p>The URLs have now changed and the unique number ID is no longer at the end of the URL like so:</p>
  
  <pre><code>/MarketUpdate/Pricing/9352730/Report
  </code></pre>
  
  <p>How would i extract the number from this now i cannot use the previous solution?</p>