Hello, I'm looking for a regular expression that I find in the text, the words "ata de audiência" OR "termo de audiência", and find "inconcilia" AND "reclamante" AND "reclamada", and do NOT find the word "sentença"
ps: there are words in portuguese
edit:I'm learning python so I'm probably taking the wrong approach
if(re.search((r'ata de audiência' or r'termo de audiência') and r'inconcilia' and r'reclamada' and r'reclamante' and not r'sentença', content.read()))): key_content = TrueI tried to do it this way.. i can find the words, but when I use the "AND NOT" operator, the regular expression does not work
ps: there are words in portuguese
edit:I'm learning python so I'm probably taking the wrong approach