I\'m relatively new to Python, and I just started learning regular expressions. I can\'t seem to figure how to find a word that starts with an uppercase. For example:
You can simply use re.findall with just the letter pattern (as the \w group will also match the _ character).
\w
_
>>> re.findall('[A-Z][A-Za-z]*', text) ['Mitch', 'Pamela']