I have some garbage data:
trueText = ' 23 Wolkenvelden en lokaal wat regen. In de ochtend op steeds meer plaatsen droog en 24 zon. In de avond kans op onweer,met name in Zeeland. 22 20 23 = max. temp. vandaag '
I want to delete the numbers that are between the charachters because this is useless. Sometimes there can be a number in the text so that’s why i only want to delete those between the charachters.
I have tried some things myself:
trueText = re.sub('[^]+', ' ', trueText)
this deletes everything between the charachters. I think I have to use the d sequence but i can’t seem to get the syntax right.
help would be much appreciated. Thank you!