Do You want to program it, or You wish to do it manually?
If manually, then it's very simple, go the the directory, where the file is, and use the dos "Edit" command.
This will start the dos editor, simply use OPEN and CHECK the "open as binary" option. After this, You shell see the file as binary, and You can search for any text with the "search" option
