fork download
  1. x <- "someurl.com/vp/125514_45147_55144.jpg?_nc25244"
  2. regmatches(x,regexec("/vp/([^/?]*)\\.",x))[[1]][2]
  3.  
Success #stdin #stdout 0.2s 185728KB
stdin
Standard input is empty
stdout
[1] "125514_45147_55144"