import re


def parse_template_text(template_text):
    """Parse the template text. Return a list of user prompts and the template text with the prompts stripped out."""
    pattern = '\{(.*?)\}'
    prompts = re.findall(pattern, template_text)
    template_text = re.sub(pattern, '{}', template_text)
    return template_text, prompts