language: Python (python 2.7.3)
date: 202 days 18 hours ago
link:
visibility: public
1
2
3
4
import re
s = "HELLO there HOW are YOU"
l = re.compile("(?<!^)\s+(?=[A-Z])(?!.\s)").split(s)
print l