def filterString(text):
    """
    Replace/Remove invalid file characters

    text : The text to search in

    Returns:
    A filtered version of the given string
    """
    # Remove invalid chars
    text = text.strip()

    text = text.replace(':', ';')
    text = text.replace('?', '')
    text = text.replace('"', "'")

    return text;