I use stringer package to replace some of the characters. It is perfectly fine for all the characters but surprisingly doesn't work for |. I wish to remove |. But it doesn't work.
dts$new <- str_replace_all(dts$Campaign, "|", "")
str_replace_all(dts$Campaign, "[|]", "")