import res = "X. Perez - bill auctions, she's"print(re.findall(r"\b[A-Z]\.\s?[A-Z][a-z]+\b", s))
Standard input is empty
['X. Perez']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!