I want to find lines not containing certain words.
This is first line
And this is second line
I am third line...
For example my word is "second", so regex schould matches only 1 (This is first line) and 3 (I am third line...) line.
I'm programming in JAVA (java.util.regex.*).
Thanks for help!