Nov-18-2022, 12:28 AM
Good evening!
I'm trying to match two words and the "(" in a line.
these are" FAILED (Exit ", there is a space before the FAILED and after the Exit
here is what I come up with and it does not work...
Sorry about that. All help appreciated.
Tester.
I'm trying to match two words and the "(" in a line.
these are" FAILED (Exit ", there is a space before the FAILED and after the Exit
here is what I come up with and it does not work...

if re.search("\sFAILED\s\(Exit",el) : print(f" ++===={el}") filtered.write(f"{el}"+"\n")the regex probably looks laughable to you but that is my level of skills with regex for now.
Sorry about that. All help appreciated.
Tester.