Microsoft interview question

Find and replace in a document.