Extract with regex

hello, I want to extract the error which is “Connection timed out”
this is the log message:

011AD11111: to=<aaa@gmaile.com>, relay=none, delay=111111, delays=11111/0.01/110/0, dsn=1.1.1, status=deferred (connect to gmaile.com[]:11: Connection timed out)

this is what I’ve got so far:
the result is :


Any help would be appreciated,

This one works:



1 Like

I have also found another way:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.