fork(1) download
  1. x <- "This is a URL: https://t...content-available-to-author-only...t.com/ThisIsAURL !"
  2. trimws(gsub("(https?://\\S*)|[[:punct:]]+", "\\1", x, ignore.case=TRUE))
Success #stdin #stdout 0.23s 39604KB
stdin
Standard input is empty
stdout
[1] "This is a URL https://t...content-available-to-author-only...t.com/ThisIsAURL"