I have three text file
File 1 : AAA BBB CCC DDD EEEE
File 2 : AAA BBB CCC DDD FFFF
File 3 : AAA BBB CCC DDD
I’m searching a regex that return sucess on “File 3” because it doesn’t contain “EEEE” and “FFFF”
i trying this kind (whithout success), it match if suffix “EEEE” or “FFFF” is absent
(?!EEEE|FFFF)
I search more and i find the exact regex that match, I want to reverse this regex :
(.*?EEEE.*?|.*?FFFF.*?)
Any suggestions ?
Thanks in advance for your help
I found a partial solution with Multiline option activated
Explanation :