import re


def get_prompts(template):
    """
    Summary of get_prompts function: extracts the prompts from the template using a regular expression which will find all of the prompts inside of the {} characters.    

    Parameters:
    template (string): the Madlib template

    Returns:
    prompts (array): an array of strings containing the prompts from the Madlib template
    """

    prompts = re.findall(r'{[^}]+}', template)

    return prompts