import re


def convert_log_content(log):
    """Remove special characters and remove bytestring notation"""
    if log[0] == "b":
        # return string without bytecode repr -> b''
        log = log[2:-1]
    # replace special characters with a single blank space
    log = re.sub(r"(?:\\t|\\n)+", " ", log)
    return log