Replace a sentence