I currently have a string to remove spaces from strings, however I now need to remove forward slashes from the string too. I’m not very good with regexes and could use some help thanks. This is the current regex I have: gsub(/\s+/, "") how do I modify this to remove / ? I’ve played around in the console and can’t seem to get it.
I currently have a string to remove spaces from strings, however I now need
Share
You have to escape the forward slash because it’s a special character. Something like this: