JODF > Tutorial > Replace text

The example shows you how to open a text document and replace text.