import retest_str = 'ali. veli. ahmet.'src = re.findall(r'(?=\b(\w+\.\s+\w+))', test_str)print(src)
Standard input is empty
['ali. veli', 'veli. ahmet']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!