I'm working on Python 2.7 and regular expressions. So my question is: how can I select the words with all the letters are uppercase from a .txt file? For example my txt file:
PYTHON 111 Python I - blabla. JAVA 222 Physics II - blalba..
I want an output like "PYTHON, JAVA". Also I don't want one letter words in my output.