My attempt (doesn't bother worrying about greedy): /^([^\t]*\t){8}T/
I think your problem is that the non-greedy expression still /can/ eat a \t in order to match the RegEx, so one of the .*'s is eating a tab in order so that you got 8 .*\t's followed by a \t My RegEx doesn't pick up your problem line. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/