Hi all, I know this probably an elementary question to some of you, but I'm just learning php myself.
I was wondering if someone could help me with a script to extract a comment line from a text file. I have alot of txt files handed to me at work and all of them have comments that I need to extract and combine into one txt file. Lets say that one txt file has bunch of sentence in it but usually at the end, it'd have a "Comment: brad does a great job of helping me" Is there a way where I could just drop all of the text files into a folder and let php extract all the comments and combined into one file? Thank you and any help would be very appreciated