fork download
  1. string <- '<a href="/Archiv-Suche/!344002&amp;s=&amp;SuchRahmen=Print/" ratiourl-ressource="344002"'
  2. pattern = "!(\\d+)&amp;"
  3. res <- unlist(regmatches(string,regexec(pattern,string)))
  4. res[2]
Success #stdin #stdout 0.23s 60752KB
stdin
Standard input is empty
stdout
[1] "344002"