import reimport sys print re.split(r"(?<!Abs)(?<!S)\.\s+(?!January|February|March)(?=[A-Z])", sys.stdin.read())
First. Second. January. Third. Abs. Forth. S. Fifth. S. Sixth. ABs. Eighth
['First', 'Second. January', 'Third', 'Abs. Forth', 'S. Fifth', 'S. Sixth', 'ABs', 'Eighth']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!