I am very new to regular expressions and am struggling with something that I am sure is really pretty straight forward.
I have a string from which I need to return the just the filename, without the extension, or the path, or the serial number (xx = two digits at the start of the filename)
http://website/subdir/xx title of the image.jpg
http://aboutfaceuk.com/gallery/01%20a%20very%20big%20dog.jpg
The top example illustrates the general form of the input text, and the bottom is a real example from the site. The results should be...
title of the image
a very big dog
Other factors...
In theory there may or may not be a subdir.
The %20 should be replaced with spaces (not entirely sure why they are %20s in the first place, but they are!)
The regex flavour is Javascript.
Help appreciated!
Thanks Ampa