import re

def split_digits(s):
    return [g for g in re.split('(\\d+)', s) if g]
for s in ['17.', '0,5', ',5', 'CO2-heidet', '1990ndatel']:
    pass
splitting digits from other characters in a string in python