import re


def handle_values_input(values: str) -> list:
    """
    Args:
        values (str): A string representation of values in the form of "[1,2,3],[4,5,6]..."
    Returns:
         (list) A list of lists of the values for this example [[1,2,3],[4,5,6]...]
    """
    if not values:
        raise ValueError('Wrong format of values entered, please check the documentation')
    split_by_brackets = re.findall("\[(.*?)\]", values)
    res_for_values_req = []
    for element in split_by_brackets:
        res_for_values_req.append(element.split(","))

    if not res_for_values_req:
        raise ValueError('Wrong format of values entered, please check the documentation')

    return res_for_values_req