regular expression to get the filename from urls

Posted by robert on Stack Overflow See other posts from Stack Overflow or by robert
Published on 2010-06-13T03:38:23Z Indexed on 2010/06/13 3:42 UTC
Read the original article Hit count: 363

Filed under:

if i have a textbox with severals urls

rapidshare.com/files/379028801/Fringe.S02E19.HDTV.XviD-LOL.avi

rapidshare.com/files/379182651/Fringe.S02E19.720p.HDTV.X264-DIMENSION.mkv

rapidshare.com/files/379180004/Fringe.S02E19.720p.HDTV.X264-DIMENSION.part1.rar rapidshare.com/files/379180444/Fringe.S02E19.720p.HDTV.X264-DIMENSION.part2.rar rapidshare.com/files/379181251/Fringe.S02E19.720p.HDTV.X264-DIMENSION.part3.rar rapidshare.com/files/379181743/Fringe.S02E19.720p.HDTV.X264-DIMENSION.part4.rar

i need a the files name and its urls

textbox2.text =

Fringe.S02E19.HDTV.XviD-LOL.avi

from here rapidshare.com/files/379028801/Fringe.S02E19.HDTV.XviD-LOL.avi

Fringe.S02E19.720p.HDTV.X264-DIMENSION.part1.rar from here rapidshare.com/files/379180004/Fringe.S02E19.720p.HDTV.X264-DIMENSION.part1.rar

and so on

Thanks :)

© Stack Overflow or respective owner

Related posts about c#