python pattern identifier? regex?
Question: So what I need is to identify the pattern " X" or "spaceCAPITAL" examples:

    
    
    string="Hello World, This is KZ"
    

And the program would pick out:

    
    
    example_list = [W,T,K]
    


Answer: 
    >>> import re
    >>> strs = "Hello World, This is KZ"
    >>> re.findall(r'\s([A-Z])', strs)
    ['W', 'T', 'K']
    

