I'm trying to get all the words(surnames) only after every semicolon appearance.
I've tried this regex, but it's not working correctly:
(?:.*?;)([a-zA-ZñÑ]+)
Here's the example line I want to filter with regex:
Walter Shelter, Mary; Johnson Smith, Robert; Dickinson Queen, Patty
Here's the result I want to get:
Walter Johnson Dickinson
Beforehand, thanks a lot for your help!