fork download
  1. library(stringr)
  2.  
  3. text <- "This is some text::stuff. Look, there's some::more. And here::is some more."
  4. str_match_all(text, "([[:alnum:]]+)::")[[1]][,2]
Success #stdin #stdout 0.28s 42168KB
stdin
Standard input is empty
stdout
[1] "text" "some" "here"