fork download
  1. x <- "3 | 4 | 2 "
  2. sub(".*\\|([^\\|]*)$", "\\1", x)
Success #stdin #stdout 0.21s 39400KB
stdin
Standard input is empty
stdout
[1] " 2 "