I also had no problem...

"myfile.jpeg" =~ /(.*?)\.(.*)/;
print $2;

gives me "jpeg"

Can we see the rest of your code?  
I think the problem may be in the value of $file_completename...

-Peter

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to