def link_regulator(incoming_links: list) -> list:
    """
    Regulates the links coming from Google Search.

    Input URL: "/url?q=https://www.example.com/SparqlEndpoint&sa=U&ved=2ahUKEwiU"

    Output URL: "https://www.example.com/SparqlEndpoint"

    :param incoming_links: List of links to be regulated
    :return: List of regulated links
    """
    regulated_links = list()
    for link in incoming_links:
        if "/url?q=" in link:
            if "%3F" and "%3D" in link:
                link = link.replace("%3F", "?").replace("%3D", "=")
            regulated_links.append(link[link.index("=") + 1:link.index("&")])
        else:
            continue
    return regulated_links