How could I extract just the date part from the following string?
var string = "http://www.blah.co.uk/world/images/landing-pages/furniture/11-12-2015/furniture.jpg"
The "furniture.jpg" part will be variable length as well as the furniture department text before the date.
Thank you, D