sorry for the delay in replying, but I think you will spend less time in learning how to set up a simple DB app for this than you will in trying set it up to work with text files.
Were you planning on putting the whole thing inside one text file, or having a seperate text file for each entry?
With individual text files, your script will have to know what text files exist, so you will need to write a script that lists all applicable files. Then if a user does a search, you will have open each file seperately and use RegEx to parse through and do string comparing.
With only one file, you will need to read the whole file into a string, break it into pieces, then parse through each section to find matching results.
Either way, I think setting up a simple mySQL DB would be much easier and certainly faster.
JMHO