fork download
  1. x <- c("This (is solved", "This is (fine)", "This is the problem)")
  2. gsub("(\\([^()]*\\))|[()]", "\\1", x)
Success #stdin #stdout 0.26s 38380KB
stdin
Standard input is empty
stdout
[1] "This is solved"      "This is (fine)"      "This is the problem"