fork(3) download
  1. s = "GMM14_2002_NGVA"
  2. gsub("^[^_]*_|_[^_]*$", "", s)
Success #stdin #stdout 0.42s 22816KB
stdin
Standard input is empty
stdout
[1] "2002"