import remy_string="I love Apple juice, it is delicious."print( re.findall(r"\bI\s+love\s+(\w+)", my_string) )
Standard input is empty
['Apple']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!