import retext = "Séance1 : 9.25/20"m = re.search(r':\s*(\d[\d.]*)/', text)if m: print ( m.group(1) )
Standard input is empty
9.25
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!