Paul, The following extended regular expression will match any 4 characters but "KWAL": ([^K]...|K[^W]..|KW[^A].|KWA[^L]) Regards, Steve Emmerson