Extract words in English

xiaoxiao2021-03-06  74

It is very simple to express the regular expression.

String s = "this is a test, powerful split";

String [] arr = s.split ("[^ a-za-z] "); // 6 words of words

For (int i = 0; i

System.out.println (Arr [i]);

转载请注明原文地址:https://www.9cbs.com/read-93231.html

New Post(0)