I have a list of full name, where the last name is all caps, the first name is normal case. I would like to separate this into last name and first name using the separate function. I'm not great at regex, though tried a few things, none quite right. Here is a sample:
my_column_of_names <- c("DI VICENZO John", "SMITH Anne Marie", "O'ROURKE Paddy", "MARTIN-JONES Jim Rae")
Any thoughts are appreciated.