fork(10) download
  1. import re
  2. myString = "Test1 [cm]: -35.00/-34.99/-34.00/0.09"
  3. print re.search(r'(?<=\/)[+-]?\d+(?:\.\d+)?', myString).group()
  4.  
Success #stdin #stdout 0.08s 10896KB
stdin
Standard input is empty
stdout
-34.99