Hi,
if you're interested in getting the directory part of a path name I would suggest using dirname from File::Basename.
Regards McA
In reply to Re: regex help by McA in thread regex help by vijesh