How to convert following javascript regex replace to andrjoid?
output = output.replaceAll(/\u106A/g, " \u1009");
You can use:
output = output.replaceAll("\\u106A", "\\u1009");
Or this:
output = output.replace( "(\\u1031)?(\\u103C)?([\\u1000-\\u1021])\\u1064",
"\\u1064$1$2$3");
btw Javascript doesn't have any replaceAll method. You probably meant String#replace in JS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With