I know how to delete extra-word numbers in Python, with:
s = re.sub("^\d+\s|\s\d+\s|\s\d+$", " ", s)
I'm wondering whether it would be possible to perform the same action while keeping dates:
s = "I want to delete numbers like 84 but not dates like 2015"
In English a quick and dirty rule could be: if the number starts with 18, 19, or 20 and has length 4, don't delete.