Finding capitalized words
Revision as of 12:55, 16 March 2011 by Aymeric Mansoux (talk | contribs) (Created page with "<source lang="python"> import re pat = re.compile(r"\b[A-Z]+\b") print pat.findall(text) </source>")
import re
pat = re.compile(r"\b[A-Z]+\b")
print pat.findall(text)