fork download
  1. import re
  2. regex = r"[A-Z]+[a-z]*"
  3. test_str = "HelloPleaseHelpMeUnderstand"
  4. print(re.findall(regex, test_str))
  5.  
Success #stdin #stdout 0.02s 27760KB
stdin
Standard input is empty
stdout
['Hello', 'Please', 'Help', 'Me', 'Understand']