fork download
  1. x <- "248_HIGH_FAN_BLADE,\n67B_COOLER_BLADE,\nBLADE_LOW_DIM"
  2. regmatches(x, gregexpr("(?m)^.*?\\K[0-9A-Z]_[0-9A-Z]", x, perl=TRUE))
Success #stdin #stdout 0.24s 185728KB
stdin
Standard input is empty
stdout
[[1]]
[1] "8_H" "B_C" "E_L"