import re


def pascal_to_snake(string: str) -> str:
    """
    Converts pascal-case to snake-case.
    >>> pascal_to_snake(string="HelloAndGoodMorning") # Returns "hello_and_good_morning"
    """
    words = re.findall(pattern="[A-Z][^A-Z]*", string=string)
    words_lower_cased = list(map(str.lower, words))
    return "_".join(words_lower_cased)