I need to remove [LS]
, [LS] character only appears when pasted on notepad++ this data was inserted hidden and visible only on UTF-8 encoding editor. And also character such as phone;email;fax.
I used below codes :
string.replaceAll("\\p{Cntrl}", "").replaceAll("[^\\p{Print}]", "");
but also replace the Chinese characters that should not be removed. Is there any way to remove hidden character and iconic character without removing the language character?