将字母拆分

public static void main(String[] args) {
        String word="101:102  5";
        Pattern pattern = Pattern.compile("[:	]");
        String[] strs = pattern.split(word);
        for (String s : strs) {
            System.out.println(s);
        }
    }
原文地址:https://www.cnblogs.com/JBLi/p/10816203.html