I want to remove all words containing numbers, examples:
LW23 London W98 String
From the string above the only thing i want to remain is "London String"
. Can this be done with regex.
I'm currently using Python but PHP code is fine too.
Thanks!
EDIT:
Here is what i can do for now:
>>> a = "LW23 London W98 String"
>>> b = a.split(' ')
>>> a
['LW23', 'London', 'W98', 'String']