Hi i have a program that currently reads in the contents of a file and stores it in a string. Some of the files are quite large so speed is quite important. I want to print out the words that begin with capital letters and was wondering how i could achieve this. I've been experimenting with re.search but i'm not sure this is what i want.
I'd appreciate any help
Many thanks