fork download
  1. s <- "hello/JJ world/NN"
  2. sapply(s, function(x){gsub("([a-zA-Z])/[a-zA-Z]+", "\\1", x)})
Success #stdin #stdout 0.29s 22832KB
stdin
Standard input is empty
stdout
hello/JJ world/NN 
    "hello world"