I have a string variable containing alphabet[a-z], space[ ], and apostrophe[\'],eg. x <- \"a\'b c\" I want to replace apostrophe[\'] with blank[], and replac
x <- \"a\'b c\"
I think nested gsub will do the job.
gsub("Find","Replace",gsub("Find","Replace",X))