import retest_str = "87, 72 Start I am a sentence finish"result = re.sub(r'Start.*', "", test_str).strip()print(result)
Standard input is empty
87, 72
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!