I have such strings; '17.'
, '0,5'
, ',5'
, 'CO2-heidet'
, '1990ndatel'
, etc. I want to split them as follows: ['17', '.'], ['0', ',', '5'], [',', '5'], ['CO', '2', '-heidet'], ['1990', 'ndatel']
, etc.
How can I do this efficiently in python?