I have a string
Manager of Medical Threat Devlop at Micro
I want to find any words that go after at, for, of. Here, I want to get the ['Micro'] (that is at the end of string, after the last at word).
Current code
If I apply r'(?:for|at|of)\s+(.*)' I will get incorrect ['Medical Threat Devlop at Micro'].
More examples:
Manager of Medical Threat Devlop at Canno->CannoManager of Medicalof Threat Devlop of Canno->CannoManager of Medicalfor Threat Devlop for Canno->CannoThreat Devlop at Canno Matt->Canno Matt