def replace_string(text, to_find, replacement):
    """Search for items in strings and replace.

    Search for characters or sequences of charaters in a string and replace
    them i.e. replace all commas.

    Args:
        text (str): The string to be searched.
        to_find (str): The character or sequence of characters to replace.
        replacement (str): The string to replace the character(s) with.

    Returns:
        String with characters replaced.
    """
    return text.replace(to_find, replacement)