Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Normalização de Strings em Java
import java.text.Normalizer;
public class SemAcentoNemCedilha {
public static String normalizar(String s) {
return Normalizer.normalize(value, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]", "");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment