#you can use replace function to remove specific word. >>> message = 'you can use replace function' >>> message.replace('function', '') >>>'you can use replace '