private String removeAccents(String str) { return Normalizer.normalize(str, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]", ""); }
Created
April 20, 2019 00:13
-
-
Save rmpestano/64add4f5fa25abb977642b66213ddbfe to your computer and use it in GitHub Desktop.
Remove accents
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment