Maybe really simple, but I can't get my head around how to use str_replace
to do the following on multiple phrases:
Note: It is always the last word that I want to retain (i.e. London, Birmingham & Scotland or any others).
Example Phrases
I Love London
Living near Birmingham
Playing by Scotland
To be turned into:
In London Today
In Birmingham Today
In Scotland Today
Thanks