from typing import Pattern


def mnemonic(column: str, size: int, drop: Pattern) -> str:
    """
    For a given column find a reasonable mnemonic

    Parameters
    ----------
    column: str
        The string to find a mnemonic for
    size: int
        The maximum length of the mnemonic
    drop: Pattern
        A pattern to remove (e.g. vowels) from the string
    """
    extra = len(column) - size
    if extra <= 0:
        return column.upper()
    return drop.sub('', column.upper(), count=extra)[0:size]