> if ($filename=~/(\w.\w\w\w.\w)$/) This will match:
<word char><any char><3 word chars><any char><word char> You need to escape the . Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]