ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Javascript regular expression to grab filename from URI

<< < (2/2)

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