>> >> ^Tnt(([^L]|.[^X]).+) > > Hmmm... It doesn't look very clean. I don't think *any* regex looks clean. ;-) -- Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/