I have string in a text file containing some text as follows:
txt = \"java.awt.GridBagLayout.layoutContainer\"
I am looking to get everyth
This seems to do what you want with re.findall(): (java\S?[^A-Z]*)\.[A-Z]
re.findall()
(java\S?[^A-Z]*)\.[A-Z]