+ 1
How do you remove special characters in java
how do you remove special characters in a java string because this does not work replaceAll("\\W", "")
2 Réponses
+ 2
Are you sure the correct Object Type and variable has been declared before the method? If you just use replaceAll(); it won't work. You have to tell it what type and variable to replaceAll with.
https://stackoverflow.com/questions/7552253/how-to-remove-special-characters-from-a-string
0
Thank you your information was helpful