added replace.woe example to demo.