fork(2) download
  1. q <-"<U+00A6> 1000-66329"
  2. sub("^\\s*<U\\+\\w+>\\s*", "", q)
  3. trimws(gsub("^\\s*<U\\+\\w+>|-", " ", q))
Success #stdin #stdout 0.22s 60752KB
stdin
Standard input is empty
stdout
[1] "1000-66329"
[1] "1000 66329"