Replace all the occurrences of specific words,"sentence = re.sub('\\bbeans\\b', 'cars', sentence)"