def search_for_joint_element_with_bracket(input):
    """
    Extract parallel elements wrapped in parentheses.
    For example:

    """
    nestedParens = Forward()
    nestedBraces = Forward()
    nestedSquareBrackets = Forward()

    nestedParens << (
        "("
        + ZeroOrMore(
            nestedParens | nestedBraces | nestedSquareBrackets | CharsNotIn("()")
        )
        + ")"
    )
    nestedBraces << (
        "{"
        + ZeroOrMore(
            nestedParens | nestedBraces | nestedSquareBrackets | CharsNotIn("{}")
        )
        + "}"
    )
    nestedSquareBrackets << (
        "["
        + ZeroOrMore(
            nestedParens | nestedBraces | nestedSquareBrackets | CharsNotIn("[]")
        )
        + "]"
    )

    parser = nestedParens | nestedBraces | nestedSquareBrackets

    result_list = parser.searchString(input)
    filtered_result_list = []

    for result_item in result_list:
        result_item_str = "".join(result_item)
        if "," in result_item_str:
            filtered_result_list.append(result_item_str)

    return filtered_result_list

    Extract parallel elements wrapped in parentheses.
    For example:

    
envs/rstar/eval_src/toolkit_for_MATH/parsing_lib.py