Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.text.Normalizer;

public class Main {
    public static void main(String args[]) throws Exception {
        System.out.println(formatString(""));
    }

    public static String formatString(String s) {
        String temp = Normalizer.normalize(s, Normalizer.Form.NFD);
        return temp.replaceAll("[^\\p{ASCII}]", "");
    }
}