Java String Normalize normalize(final String string)

Here you can find the source of normalize(final String string)

Description

normalize

License

Open Source License

Declaration

public static String normalize(final String string) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.Normalizer;

public class Main {

    public static String normalize(final String string) {
        return Normalizer.normalize(string, Normalizer.Form.NFD).replaceAll("[^\\p{Alnum}\\s]", "");
    }/*from www .  jav a  2 s  .  c  o m*/
}

Related

  1. normaliseUnicode(String unicodeText, char[] mappings)
  2. normalize(final String input)
  3. normalize(final String s)
  4. normalize(final String s)
  5. normalize(final String string)
  6. normalize(Object o, StringBuffer sb)
  7. normalize(String adoc)
  8. normalize(String in)
  9. normalize(String name)