fork download
  1. x <- "foo > bar > foo bar > foo > test > test this"
  2. gsub("(\\s*>\\s*)|\\s+", "\\1", x)
Success #stdin #stdout 0.28s 38812KB
stdin
Standard input is empty
stdout
[1] "foo > bar > foobar > foo > test > testthis"