> > are you just trying to match 2 digits in the substr? > Try if ($newyr =~ /( \d{2} )/)
get rid of the spaces, it was just for clarity. or use /x to ignore the spaces -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]