human
How to extract all UPPER from a string? Python
assistant
Here is some code to remove uppercased characters in string `s`

re.sub('[^A-Z]', '', s)

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