Jump to content

Extracting Text Between Two Strings


wxgoes1985

Recommended Posts

Hi there,

 

In my attached PHP script, I extract text between two strings in the input file and write the extracted text to an output file.  Everything seems to work fine, except I can't figure out how to include the row that says "Richland" (after the row that says "Creighton") in the extracted text. 

 

If someone could guide me how to do this, I'd greatly appreciate it.  The PHP script is attached.  The input file is in htm format and I can't attach that here so I will provide a link to the file I'm calling: http://www.afws.net/data/pa/savedata/109/06/2009060920.pa.htm

 

Many thanks!!!

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/213359-extracting-text-between-two-strings/
Share on other sites

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.