human
Python Regex - checking for a capital letter with a lowercase after
assistant
Here is some code to python regex - check for a capital letter with a following lowercase in string `string`

re.sub('^[A-Z0-9]*(?![a-z])', '', string)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.