fork(1) download
  1. list <- c("1010.1-1", "1010.2-1", "1010.3-1", "1030-1", "1040-1", "1060.1-1", "1060.2-1", "1070-1", "1100.1-1", "1100.2-1")
  2. as.numeric(gsub("\\D+", "", list))
Success #stdin #stdout 0.16s 175424KB
stdin
Standard input is empty
stdout
 [1] 101011 101021 101031  10301  10401 106011 106021  10701 110011 110021