How to remove all text of the same pattern in a pdf

How to remove all text of the same pattern in a pdf document by ghostscript, or PDFarchitec, or qpdf ?

Hi,

we needed a Postscript parser to be able to filter text directly inside the Postscript documents in order to implement the "user token" functionality for PDFCreator, which basically searches for a pattern of text and replaces it. I don't think Ghostscript or PDF Architect will help with this, I don't know anything about qpdf.

Best regards

Robin