import reregex = r"[A-Z]+[a-z]*"test_str = "HelloPleaseHelpMeUnderstand"print(re.findall(regex, test_str))
Standard input is empty
['Hello', 'Please', 'Help', 'Me', 'Understand']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!