'This function returns a copy of word, translating
all occurrences of each character in find to the
corresponding character in replace'

def string_replace(self, word, find, replace):

    for k in range(0, len(find)):
        word = re.sub(find[k], replace[k], word)
    return word
