> The problem is that I only want the GLN part to be colored if the line > starts with ATOM. In your reply the complete part starting with ATOM > up to GLN gets colored. > maybe you should group GLN apart this way: ^(ATOM|HETATM).*(GLN) and target the second subexpression Edoardo Galvagno