import resample = "this is an example"r = re.findall(r"this is\s+\w+\s+example", sample)print(r)
Standard input is empty
['this is an example']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!