Hello,
I am a beginner with R and regex are very hard for me.
I have a vector of characters :
names <- c("TCGA-44-3919-01A-02R-1107-07", "TCGA-44-2668-01A-01R-A278-07","TCGA-49-AAQV-01A-11R-A39D-07")
and I want an output without the last characters after the 3rd -: