Search and Replace text node

Can i use the following key-in or something like it to search and replace something in a text string with a specific text node number?

MDL KEYIN FINDREPLACETEXT
FIND DIALOG SEARCHSTRING text1
FIND DIALOG REPLACESTRING text2
CHANGE TEXT ALL