How to remove special characters in the string except \"- _\". Now I use:
replaceAll(\"[^\\\\w\\\\s]\", \"\")
it remove all special charact
This might help:
replaceAll("[^a-zA-Z0-9_-]", "");