You can use:
output = output.replaceAll("\\u106A", "\\u1009");
Or that:
output = output.replace( "(\\u1031)?(\\u103C)?([\\u1000-\\u1021])\\u1064",
"\\u1064$1$2$3");
btw Javascript has no method replaceAll
. You probably meant String#replace
in JS.
source
to share