in reply to Is it Possible to match contents in hash via a Regex?
The fields are separated by spaces, right, so why not just split into an array, then you'll be able to get at the array element you want. Something like this:
hth,my @flds = split / /; $flds[14] = $TOC{$flds[14]}; print "@flds" ;#this is quoted so it's printed with a space between ea +ch field
|
|---|