def METHOD_NAME(links):
    l = []
    for link in links:
        # <Text>
        page = link[link.find("[")+1:link.find("]")]
        #<Link>
        link = link[link.find("(")+1:link.find(")")]
        # In Markdown you can have a link such as
        # ["my link"](<link> "wikilink")
        # We still want to process those links, and just skip the remaining
        # text
        if len(link.split()) > 1:
            link = link.split()[0]
        l.append(link)
    return l