import re


def cqlstr(string):
    """Makes a string safe to use in Cassandra CQL commands

    Args:
        string: The string to use in CQL

    Returns:
        str: A safe string replacement
    """

    return re.sub('[-:.]', '_', string)