import rerx = r".*\b([a-z]{2,})"s = "this is very cool"m = re.search(rx, s)if m: print(m.group(1))
Standard input is empty
cool
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!