I am looking to eliminate the [LS]
, [LS] character that only shows up when pasted in Notepad++. This data was inserted in a way that it is hidden and can only be seen on a UTF-8 encoding editor. Additionally, I want to remove characters like phone; email; fax.
The codes I tried are as follows:
string.replaceAll("\\p{Cntrl}", "").replaceAll("[^\\p{Print}]", "");
However, this also removes Chinese characters which should not be removed. Is there a method to get rid of hidden and iconic characters without eliminating language characters?