fork download
  1. import re
  2. text = r'Where_IsKCR'
  3. print( list(filter(None, re.split(r'_|(?<=[^A-Z])(?=[A-Z])', text))) )
Success #stdin #stdout 0.02s 9412KB
stdin
Standard input is empty
stdout
['Where', 'Is', 'KCR']