Hi, PSPad doesn't negative lookahead assertion in regular expressions (?!...) If your "Test" is in all cases a normal string (with no metacharacters), you may modify the following approach:
http://wiki.tcl.tk/989 cite: -------------------------------------------------------------------------------- any line that DOES NOT have the word ''foo'': ^([^f]|f[^o]|fo[^o])*.{0,2}$ -------------------------------------------------------------------------------- or you could try (at your own risk) my javascript for regexp search and replace (supports lookaheads but not lookbehinds) http://www.vbr.wz.cz/pspad/poor-man-s-REplace.html with your original pattern \b(?:(?!Test)\w)+\b i.e. /\b(?:(?!Test)\w)+\b/g in the script. -- <http://forum.pspad.com/read.php?2,39943,39951> PSPad freeware editor http://www.pspad.com
