import re


def remove_conjunction(conjunction: str, utterance: str) -> str:
    """Remove the specified conjunction from the utterance.

    For example, remove the " and" left behind from extracting "1 hour" and "30 minutes"
    from "for 1 hour and 30 minutes".  Leaving it behind can confuse other intent
    parsing logic.

    Args:
        conjunction: translated conjunction (like the word "and") to be
            removed from utterance
        utterance: Full request, e.g. "set a 30 second timer"

    Returns:
        The same utterance with any dashes replaced by spaces.

    """
    pattern = r"\s\s{}".format(conjunction)
    remaining_utterance = re.sub(pattern, "", utterance, flags=re.IGNORECASE)

    return remaining_utterance