After extracting the data from pdf file store it in a String Variable. After that use the replace function to replace the stamp words with the Empty. Then Write the String Variable data to the Text file.
While using Read PDF with OCR after storing the output into text file if the stamp words are static you can use Replace function to replace the text and store it in the same variable. After that, you can write that output variable into text file using Write Text file activity.