I have some numbers within sentences and they look like this
s='rare blond Canadian terrier on wheels. Only $8.98. test test. ...0.1/10 very rare'
patt='[0-9\.{1}]*/10'
re.findall(patt,s)
i want to find float/10 ( or sometimes int/10) , but with my pattern i got
['...1/10']
im sure this should be an easy fix, anyone please help?