Thread Regex-Frage (3 answers)
Opened by Frank183 at 2010-07-31 12:27

pktm
 2010-07-31 12:35
#140190 #140190
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Code (perl): (dl )
1
2
3
4
5
my $url_abs = 'http://www.dingsda.com/files/content/ABC123.jpg';
if( $url_abs =~ m/.+\/([^\/]+)$/ ) {
        my $file = $1;
        print $file;
}
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread Regex-Frage