I'm trying to match a few patterns and I cannot seem to make it work.
The patterns i'm trying to match are these:
David C. Drummond
Sundar Pichai
Julie Spellman Sweet
I need a regex expression that matches all 3 groups.
What i've tried so far is: r"^(\w*)\W?(\w*|\w\.)\W?(\w*)" with many variations for the space between the words (\s, \b) and with greedy and non greedy symbol(?) after the space.