Delete specific text from a text block

Is there a way to remove a defined string of a text from a larger text block?
I am OCR'ing many files which have a footer. The footer is always the same and inserts itself into the OCR result (as expected). After OCR, I would like to "delete" that string from multiple locations from within the larger OCR result. Is this possible?

Answers