What is the best way to split a string like "HELLO there HOW are YOU"
by upper case words (in Python)?
So I'd end up with an array like such: results = ['HELLO there', 'HOW are', 'YOU']
EDIT:
I have tried:
p = re.compile("\b[A-Z]{2,}\b")
print p.split(page_text)
It doesn't seem to work, though.