fork download
  1. x <- "2019/01/01/07/556662_cba3a4fc-cb8f-4150-859f-5f21a38373d0"
  2. regmatches(x, regexpr(".*/([0-9]+)", x, perl=TRUE))
  3. sub(".*/([0-9]+).*", "\\1", x)
Success #stdin #stdout 0.19s 185728KB
stdin
Standard input is empty
stdout
[1] "2019/01/01/07/556662"
[1] "556662"