public static String reformatName(String str) {
        return removeContinuousChar(str, '`');
    }
remove the continuous char in the string from both sides.
@param str the input string, target the char to be removed
@return the string without continuous chars from both sides
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/ddl/Utils/ColumnUtils.java