fork(1) download
  1. s <- "xxx/yyy?utm_medium=display&utm_source=ogury&utm_campaign=TOTO&zzz=coco"
  2. sub(".*[&?]utm_campaign=([^&]+).*", "\\1", s)
Success #stdin #stdout 0.22s 38920KB
stdin
Standard input is empty
stdout
[1] "TOTO"