def remove_forbidden_characters(name):
    """ 
    A function that will remove all the forbidden characters from the string. The forbidden characters are the ones
    that are not allowed to be used in the names of windows files. Those are  --> r'/*=:<>"|\'.

    Parameters:
        name : string
    
    Returns
        `name` without the forbidden characters
    """

    new_name = ""
    for znak in name:
        if znak in r'\/*?:<>"|':
            new_name += '_'
        else:
            new_name += znak
    
    return new_name