After pressing the "replace button", did you also press the "save page" button to save the so modified page? It happened to me once, I forgot to save the page.
Hope this helps.