Other Software > Developer's Corner
Javascript regular expression to grab filename from URI
Ampa:
mwb1100: thanks for the tip about decodeURI().
I realise that the %20s are usually there for a good reason, but the filename that I extract is not being passed to the browser, it needs to be read by the user, so in this instance spaces are friendlier :)
Navigation
[0] Message Index
[*] Previous page
Go to full version