http://qs321.pair.com?node_id=1018116


in reply to delete FF's from a file

Several issues with this. Here are a few hints:

You should review common "regular expressions" and then searching binary data in particular.