I need to be able to search for text in a large number of files (.txt) that are zipped. Compression may be changed to something else or even became proprietary.
I want to avoid
It is unlikely you'll be able to search for uncompressed strings in a compressed file. I guess one for your best options is to index the files somehow. Using Lucene perhaps?