import re


def get_image_name_from_recipe(recipe_file_name: str) -> str:
    """ Returns the image name contained in a recipe file name. """
    return re.sub(r'(^.*?)\..*$', r'\1', recipe_file_name)