fork download
  1. string <- "Psychologist - 7 years on the website, online"
  2. sub(pattern=".*?([0-9]+\\s+\\w+).*", replacement="\\1", string)
Success #stdin #stdout 0.2s 175424KB
stdin
Standard input is empty
stdout
[1] "7 years"