my $f = "apple.htm"; $f =~ s/^(\w+)\.(\w+)$/$1./; print "\$f = $f\n"; [download]
In reply to Re: Regex Problems by hackdaddy in thread Regex Problems by Anonymous Monk