djehres: -------------------------------------------------------------------------------- does not work.
I have lines that are like this: ORA-20112: Man.EXIST2: The Manu Info object already exists. ORA-06512: at "user.ERROR_SYS", line 166 ORA-06512: at "user.MANUFACTURER_INFO_API", line 389 ORA-06512: at "user.MANUFACTURER_INFO_API", line 674 ORA-06512: at "user.TEMP_USER_MANUFACTURERS", line 33 ORA-06512: at line 1 I want to FIND in my file everything that begins with: ORA- but NOT ORA-06512 Thanks. -------------------------------------------------------------------------------- With negating each character separately, you also exclude many other combinations, not just the string you want. You would need a regular expression with negative lookahead, but the current regexp engine in PSPad unfortunately doesn't support this. The pattern would be ORA-(?!06512) You can use it in searching scripts for PSPad cf. http://forum.pspad.com/read.php?2,12797#msg-12805 If you only need to find the matching data and don't mind separating it in extra result list, you can use the list function in the search dialog - in two steps. First search for "ORA-" and use "Copy" then search over this intermediate result list for "ORA-06512" - and check "[x] Copy non-matching" and click "Copy". hth, vbr -- <http://forum.pspad.com/read.php?2,57396,57411> PSPad freeware editor http://www.pspad.com
