code: public static ArrayList<String> filter(final ArrayList<String> original, final String filter, final String token) {
      final ArrayList<String> result = new ArrayList<>();
      for (final String line : original) {
        if (line.contains(filter)) {
          final String[] p = line.split(token);
          if (p.length > 1) {
            result.add(p[p.length-1]);
          }
        }
      }
      return result;
    }
docs: filter array list of lines and get the last portion of the line separated by the token, like ":::".
  @param original
  @param filter
  @return