import re


def remove_word_from_word(word_to_remove: str, total_word: str) -> str:
    """
    Remove the letters from word_to_remove from total_word

    >>> remove_word_from_word('ZOEN', 'ZOEVEN')
    'VE'

    >>> remove_word_from_word('ZOEK', 'ZOEVEN')
    'VEN'
    """

    for letter in word_to_remove:
        total_word = re.sub(letter, '', total_word, count=1)
    return total_word