in reply to Regex Problems
But for filename manipulations such as the ones you're doing, I would recommend File::Basename. No need to reinvent the wheel with the risk of inventing a square one...use strict; my $filename="camel.flea"; $filename=~s/\w+(\.\w+)$/$1/; # Warning: untested
CU
Robartes-
|
|---|