There is sku name in below dataframe, I want to remove the part which start with 'V' and end with 'b', my code str_remove_all(sku_name,"^(V).*?(\\b)$") can't work.
Anyone can help?
mydata <- data.frame(sku_name=c('wk0001 V1b','123780 PRO V326b','ttttt V321b'))
mydata %>% mutate(sku_name_new=str_remove_all(sku_name,"^(V).*?(\\b)$"))