Regex - :\s|,\s|,|\s|/|\\|\&|\$|"|%
Also tried [:\s,\s,\s/\\\&\$"%] with the same results.
I have marked replacement characters for a visual view to make sure.
Regex - :\s|,\s|,|\s|/|\\|\&|\$|"|%
Also tried [:\s,\s,\s/\\\&\$"%] with the same results.
I have marked replacement characters for a visual view to make sure.
Because you are replacing \s with nothing. \s stands for any kind of white space, including linebreaks.
If you want to replace only horizontal spaces (i.e. space, tab) use \h.