Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Help - parse text file, find keyword

$
0
0

I am looking for a way to parse a file that contains a lot of text that is comma separated, yet it is not a csv. 

What i want is to find a keyword then echo that keyword and a few characters after that keyword, then look for another keyword and echo that keyword and some characters after that keyword...etc.

 

Can someone point me in the right direction please?

 

 

 

 


Viewing all articles
Browse latest Browse all 13200

Trending Articles