@@ -0,0 +1,978 @@
+package jeranvier.util;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.regex.Matcher;%0Aimport java.util.regex.Pattern;%0A%0Apublic class Grep2List %7B%0A%09%0A%09public static void main(String%5B%5D arg)%7B%0A%09%09List%3CString%3E list = new ArrayList%3CString%3E();%0A%09%09list.add(%2213 46095.097864315517654 7054.386046320822970 46095.097864315517654 7054.386046320822970%22);%0A%09%09list.add(%22this is another test 3 with 2 times this 34%22);%0A%09%09list.add(%22it's a final test for control%22);%0A%09%09 for(String result :Grep2List.find(%22(%5B0-9%5D+%5C%5C.%5B0-9%5D+)%22, list.get(0)))%7B%0A%09%09%09 System.out.println(result);%0A%09%09 %7D%0A%09%7D%0A%0A%09public static List%3CString%3E find(String stringPattern, String string) %7B%0A%09%09if(! stringPattern.matches(%22%5C%5C%5C%5C(.*%5C%5C%5C%5C)%22))%7B%0A%09%09%09stringPattern=%22(%22+stringPattern+%22)%22;%0A%09%09%7D%0A%09%09Pattern pattern = Pattern.compile(stringPattern);%0A%09%09Matcher matcher = pattern.matcher(string);%0A%09%09List%3CString%3E results = new ArrayList%3CString%3E();%0A%09%09while (matcher.find())%7B%0A%09%09    results.add(matcher.group(1));%0A%09%09%7D%0A%09%09return results;%0A%09%7D%0A%0A%7D%0A

ADD little tool to return of list of matching grep