Contact: aviboots(AT)netvision.net.il
39,940 questions
51,877 answers
573 users
import re s = 'python 24.234 java98.93 c++ 88397.982 php 3.14 swift 6.3-89.7' lst = re.findall('[0-9.]+', s) print(lst) ''' run: ['24.234', '98.93', '88397.982', '3.14', '6.3', '89.7'] '''