Lets say the string representing the phrase is
"Holy it is changing again and again"
I want to print out the word
"again and again", but this word may be different every time. So I need to extract the word before the phrase
"again and again". The phrase
"holy it is" should not be extracted.
How can I do that with Python?
I thought about using Regex like here Python regex to match word before < but I'm not too sure how to code it right.