j <- "Abc,Abc, and c"gsub("\\b,\\b", " ", j)
Standard input is empty
[1] "Abc Abc, and c"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!