import re
matches = []
text = "Hi, How are You?"
for line in text.splitlines():
    matches.extend([x for x in re.findall(r'\w+', line) if x[0].isupper()])
print(matches)
# => ['Hi', 'How', 'You']
