http://www.perlmonks.org?node_id=516730


in reply to Searching in binary files

This is probably an uncool suggestion, but you could always pipe your data through strings if you're on a unixy system.