Just do a \d+
And then grab the element you need
It might work in this case, but
I wouldnt't make a habit of using such a wide searches.
In this case you can just take the LAST match from your regex, but for longer and more complex urls it could give you the wrong result.
Example, say you want the year from the url instead (/v-cars-trucks/calgary/
2004-chevrolet-venture-value-plus-minivan-van/1129900634?enableSearchNavigationFlag=true)
In the first url it's the first match (2 total matches), but in the second url it's the second match (3 total matches).
Instead you could make it more strict, with for example
(?<=/)(19|20)\d{2}
It will look for a 4 length number after a slash. First 2 being 19 or 20, followed by 2 x 0-9.
So it would match 1900-2099.
Or (?<=/)(19|20)\d{2}(?=[^\d]), it will work as the one above but also make sure there's not a 5'th number following the first 4.
See how it doesn't match 2015 in the second url? (/2016-some-bmw-model/
20151?enableSearch)
Here's a little cheat sheet I use from time to time, bookmark it.
http://tobbe.co/regex.php