in reply to regexp to return rest of string
$string = "/home/angryman/www/content/m/i/2000/5/31/r_standoff.gif"; $string =~ /content(.*)/; $relative_url = $1;
|
---|
In Section
Seekers of Perl Wisdom
in reply to regexp to return rest of string
$string = "/home/angryman/www/content/m/i/2000/5/31/r_standoff.gif"; $string =~ /content(.*)/; $relative_url = $1;
|
---|