I ran into some difficulties replacing all the special characters in a very simple string
Consider this string
mystring <- "[[\"The Tidy\",\"Verse\"]]"
I was trying to use
stringr to get rid of all the
" inside it, but I was not able to do so. What is the right syntax here?
str_replace(mystring, '[\[\]"\\]', '') Error: '\[' is an unrecognized escape in character string starting "'[\["