fork download
  1. X <- c("L_1_3", "L_2_23", "L_3_91", "L_3_16")
  2. gsub("^L_\\d\\d?_(\\d+)$", "\\1", X)
Success #stdin #stdout 0.26s 38940KB
stdin
Standard input is empty
stdout
[1] "3"  "23" "91" "16"