fork(1) download
  1. col <- c("WBU-ARGU*06:03:04","WBU-ARDU*08:01:01","WBU-ARFU*11:03:05","WBU-ARFU*03:456")
  2. sub("(\\d:\\d+):\\d+$", "\\1", col)
Success #stdin #stdout 0.22s 39212KB
stdin
Standard input is empty
stdout
[1] "WBU-ARGU*06:03"  "WBU-ARDU*08:01"  "WBU-ARFU*11:03"  "WBU-ARFU*03:456"