I am very new to python, I am trying to write a regex that will find all instances of a period, space, then capital letter in a corpora. I have this:
print (re.findall(r'(\.|\!|\?) (A-Z\w+\b)',text))
I got it to print when there was only one capital (i.e. I went to the movie.) but not when its a capitalized word.
Thoughts?