private static int detectEndNoXml(StringBuilder builder, int buffLength, int startPos) {
        while (startPos < buffLength && !isDelimiter(builder.charAt(startPos))) {
            startPos++;
        }

        return startPos;
    }
detect end position of sensitive data in unknown format content

@param builder raw data
@param buffLength the length of raw data
@param startPos the start position of sensitive data
@return the end position of sensitive data
inlong-common/src/main/java/org/apache/inlong/common/util/MaskDataUtils.java