What prevents you from grepping for /dir1/dir2/100.10/dir3/100.20/code then?
In reply to Re: regex in perl by Corion in thread regex in perl by noviceuser