Negative logic
Posted: Wed Nov 17, 2021 6:34 am
I want to find text but exclude in the find certain text:
<tag>1234567890qwerty1234567890</tag>
<tag>1234567890qwerty1111117890</tag>
<tag>1234567890qwerty1234567890</tag>
<tag>1234567890qwerty1234567890</tag>
In my find I want to search for <tag>[^<>]+ NOT 111111</tag>
so my search only finds lines 1, 3, and 4.
Is there a way to do this?
<tag>1234567890qwerty1234567890</tag>
<tag>1234567890qwerty1111117890</tag>
<tag>1234567890qwerty1234567890</tag>
<tag>1234567890qwerty1234567890</tag>
In my find I want to search for <tag>[^<>]+ NOT 111111</tag>
so my search only finds lines 1, 3, and 4.
Is there a way to do this?