in reply to Re: regex help, please
in thread regex help, please

The regex apparently isn't matching anything. If I print $tocfile, the CD_TEXT field is still there.

I can see I have some book larnin ahead of me. Thanks for the tip about lookaheads.