一個使用正則表達式治口吃的問題。將「我我我...我我.要要要...要...學學學...編編編...程」抽取爲「我要學編程」

import java.util.TreeSet; public class RegexTest { public static void main(String[] args) { Method1();//1.治口吃 } //1.治口吃 private static void Method1() { String str="我我我...我我.要要要...要...學學學...編
相關文章
相關標籤/搜索