Jump to content

how to search for match string in a txt file, thanks


ted_chou12

Recommended Posts

Get the contents of the text files, file_get_contents().
Do you want to do a regular expression, or just find if the string exists in the document? If you just want to check for an exact match, strpos()

Your signature is funny.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.