public static String getStartTag(@NotNull String line) {
    if (startsWithTag(line)) {
      int tagStart = line.indexOf("<");
      if (tagStart >= 0) {
        tagStart++;
        for (int i = tagStart; i < line.length(); i ++) {
          char ch = line.charAt(i);
          if (!(Character.isAlphabetic(ch) || (i > tagStart && (Character.isDigit(ch) || ch == '-' )))) {
            return line.substring(tagStart, i);
          }
        }
      }
    }
    return null;
  }
public static String getStartTag(@NotNull String line)