static long dePadId(final String paddedId) {
        if (NullSafe.isBlankString(paddedId)) {
            return -1L;
        } else {
            final String dePaddedId = LEADING_ZEROS.matcher(paddedId)
                    .replaceFirst("");
            if (dePaddedId.isBlank()) {
                return 0;
            } else {
                try {
                    return Long.parseLong(dePaddedId);
                } catch (NumberFormatException e) {
                    LOGGER.debug("Unable to convert '{}' to a long", dePaddedId, e);
                    return -1;
                }
            }
        }
    }
Remove padding from the string, e.g. '000099' => 99

@return The de-padded value, 0 if blank/null or -1 if not a number.
stroom-data/stroom-data-store-impl-fs/src/main/java/stroom/data/store/impl/fs/FsPrefixUtil.java