public static void main(String[] args) throws IOException {
StringBuilder stringBuilder = new StringBuilder();
for (String accounts : FileUtils.readLines(new File(System.getProperty("user.home") + "\\Desktop\\test.txt"), StandardCharsets.UTF_8)) {
if (accounts.split("\\|")[3].contains(" Region: eu") && !accounts.contains("Skins(0) :")) {
if (!stringBuilder.toString().contains(accounts.split("\\|")[0])) {
stringBuilder.append(accounts.split("\\|")[0] + "\n");
}
}
}
System.out.println(stringBuilder);
}