Issue
I tried using this but didn't work-
return value.replaceAll("/[^A-Za-z0-9 ]/", "");
Solution
Use [^A-Za-z0-9]
.
Note: removed the space since that is not typically considered alphanumeric.
Answered By - Mirek Pluta
Answer Checked By - Mildred Charles (JavaFixing Admin)