> > but I am sure it could be written in a cleaner way. > > ^Tnt(([^L]|.[^X]).+) Hmmm... It doesn't look very clean. It may be more correct but I am not sure of that. Does [^L]|.[^X] mean: anything but 'L' or anything, followed by anything but 'X' ? Juha