thank you for your help on this small problem.
I have the following data frame
Name <- c("Practice - Sept. 1, 2021 - Firstname Lastname", "Practice - Sept. 30, 2021 - John Doe") Value <- c(4,6) DF <- data.frame(Name, Value)
I would like to remove the term "Practice" and the Date from the string variable DF$Name so that
DF$Name <- c("Firstname Lastname", "John Doe")
I am new to R and have not fully grasped the basics of expression language (which I assume I will need to successfully solve this issue)