in reply to A question on Regex
use strict; use warnings; my $mystring = "http://192.162.143.201/nightly_results/2009_12_02/log_ +lcla114.ping.com_64.html"; if($mystring=~/(.*)\/(.*)/) { print "File Name : $2"; } [download]