$url = 'http://www.fubar.com/fileXXX.txt'; $url =~ m{^[\w\/\:\.]+\/([\w\.]+)$}; $file = $1;
In reply to Re: Get the filename from the end of a URL
by Big Willy
in thread Get the filename from the end of a URL
by ip9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |