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

Complicated file parsing

$
0
0

Hello all,

 

I have an file with this structure attached.

The question is how can that file be parsed line by line so I can manipulate further the info as following:

1. I want to know the >LD XX. In every LD there could be several prints

2. Skip the lines describing memory etc.. between LD xx and REQ

3. Get variables in an array form as (variable) REQ -> (value) PRT

4. Skip the empty lines

 

Thank you

Attached Files

  • Attached File  SPN.txt   850bytes   1 downloads

Viewing all articles
Browse latest Browse all 13200

Trending Articles