The R gsub() syntax is so difficult to me ! Could you, please, help me to extract, for example, "DA VINCI" from "16. DA VINCI_RETOUR" ?
I've already tried gsub("_.+$", "", x)
but it just removes what is after the "_" and I would like also to remove what is before the ". " !
Thank you so much for your help !