import re


def ct(input_str):
    """
    Simple string cleaning used to clean title (ct) of tracks.
    :param input_str: string - the title to be cleaned.
    :return: string - cleaned title
    """
    """Clean title (ct)."""
    clean_str = str(input_str)
    clean_str = re.sub("[\(\[].*?[\)\]]", " ", clean_str)
    clean_str = re.sub(' +', ' ', clean_str)  # remove double spaces
    clean_str = clean_str.strip()  # remove leading and trailing spaces
    return clean_str