(text)
return new_text
Replaces bullet lists starting with `*` with the lists starting with `-`

    :param text: Original text
    :return: New text without `*` bullet lists
Replaces bullet lists starting with `*` with the lists starting with `-`
Replaces bullet lists starting with * with the lists starting with -
def reformat_replace_star_list_with_dash_list(text):
    """
    Replaces bullet lists starting with `*` with the lists starting with `-`

    :param text: Original text
    :return: New text without `*` bullet lists
    """
    lines = text.split('\n')
    new_text = ''
    for line in lines:
        if line.strip().startswith('* '):
            line = line.replace('* ', '- ', 1)

        new_text += line + '\n'

    return new_text
def reformat_replace_star_list_with_dash_list ( text ) : lines = text . split ( '\n' ) new_text = '' for line in lines : if line . strip ( ) . startswith ( '* ' ) : line = line . replace ( '* ' , '- ' , 1 ) new_text += line + '\n' return new_text