from typing import List
import re


def find_url(url_raw: List[str]) -> List[str]:
    """Function to find all URL matching a specific regex in a list of URL.

    Here, this function will fetch all URL beginning with:
    "https://geodatamine.fr/dump/" and continuing with "t3xt-4nd-numb3rs.text".
    This allows to fetch the direct URL of the files to download.

    Args:
        url_raw (str): The list of URL from which to find a corresponding URL.

    Returns:
        List[str]: The list of URL corresponding to the given format.

    """

    regex = re.compile(r"^https:\/\/geodatamine\.fr\/dump\/[\w-]+geojson\.[A-Za-z]+$")
    url = [str(link) for link in url_raw if regex.match(str(link))]
    return url