get specific part from url

Posted by 3gwebtrain on Stack Overflow See other posts from Stack Overflow or by 3gwebtrain
Published on 2010-06-02T07:18:21Z Indexed on 2010/06/02 7:23 UTC
Read the original article Hit count: 162

Filed under:

hi,

my window.location is "F:/html5/home.html", from my location i need to get the file name like this "home.html", to do this, how to i use the regular expression command?

any one help me?

© Stack Overflow or respective owner

Related posts about regex