public class Test {
public static void main(String[] args) {
String Ch = "零一二三四五六七八九";
String Sy = "◎①②③④⑤⑥⑦⑧⑨";
String Nu = "0123456789";
String input = "1390 二四⑧,⑦9三零";
input = input.replaceAll("(\\s|,|,|。|\\.)+", "");
for(int i = 0; i < 10; i++) {
input = input.replace(Ch.charAt(i), Nu.charAt(i));
input = input.replace(Sy.charAt(i), Nu.charAt(i));
}
System.out.println(input);
}
}