def str_swap(str_raw, replace_dict):
    """
    Goes through a str using the replacement dictionary and looks for the
    keys in brackets and replaces them with the values

    Args:
        str_raw: Original string to replace keywords in using the replace_dictionary
        replace_dict: dictionary containing keywords to replace with full strings from the values

    Returns:
        info: string with keywords that are populated with values
    """
    info = str_raw
    for k, v in replace_dict.items():
        search_str = '[{}]'.format(k)
        info = info.replace(search_str, v)
    return info
