I have this regex for Notepad++ which works to find the strings I am supposed to find which are all lines ending each with a number in brackets.
^.*\(\d*\)\r\n
Problem is:
Those are the lines I want to keep with a regex find & replace where I erase the other lines.
I tried
^.*?(?!\(\d*\))\r\n
^.*?(?!(\(\d*\)))\r\n
(?!(^.*?\(\d*\)\r\n))
None of these seem to work (or not work correctly).
What am I doing wrong?