I'm actually new to java and I'm happy that the regex works that I found^^ But now I need to know, how to get more than 1 string and the best would be if all would be in an array. Actually I do it like this:
Pattern p = Pattern.compile("name~(.*?)@");
Matcher m = p.matcher(response);
while (m.find()) {
System.out.println("Found: " + m.group());
}
Can anyone help?