def build_regex(name, email):
    """
    Build a regex that matches a name and email combination.

    >>> build_regex("John Doe", "john@example.com")
    'John Doe.*john@example.com.*'

    :param name: Name of the person.
    :type name: str
    :param email: Email of the person.
    :type email: str
    :return: RegEx.
    :rtype: str
    """
    return name+".*"+email+".*"