import res = """MicroAlgae 7.5AlgaeSerum 6.5Algae 1.5"""m = re.search(r'\bAlgae\s+([0-9.]+)', s)if m: print(m.group(1))
Standard input is empty
1.5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!