Friday, 9 August 2013

how do I parse this text file using php into a usable html format

how do I parse this text file using php into a usable html format

Heres a rather big sample of the data to be be parsed:
POCSAG1200-: Address: 352986 Function: 0
POCSAG1200-: Numeric: 0U
9]060U65]070.6]4[8023]35.0.6629.1466257028237.0.16099 40533825.6014 2.4U84
2280673 -- 60295-2653 9 00 POCSAG1200-: Alpha: 09:00-98 MSG FOR MITALI:
PLS CALL MARTA LEREDE 07876 251582 POCSAG1200-: Address: 135502 Function:
2 POCSAG1200-: Numeric: 0U 9]060U69 270.U-U260305.7]3[.797]02478-]5601UU
4601-[-02.3.U 0267.--560989-[]1[.3 7]238 -56U795]0.0[89]5[03U9-97098U
967[9146]7U U-1663U3[02.787-567UU0445978- 6]4[8142[23-U]277799 02.[U146 0[
9]0267.--5]9382 4701 6]..9 502.2.U 2[2382-3709 3
967382-]601-1-560585]5]0388 1]63 3-]]3388
[]UUU14774789]02979U-1]4UU7]0.7U91447479143[6[UU]
62795]967[9-50.6]3U90.U7.9- 6098U 0.0U 5]167[9U
4601-[-0.6[U--96.[U5]02.3.U 0.69[00 POCSAG1200-: Alpha: 09:00-29 7/10
issues have led to the line blockage never actually being formally taken.
Traffic returned to Fast lines at 06.52. There is rain in the area damping
down what remains of the smouldering. MOM will be arranged to monitor the
-> POCSAG1200-: Address: 135502 Function: 255 POCSAG1200-: Alpha:
5Nüü$nNTnMM4LÜ,nT^Dß$Öt^lömLTe POCSAG1200-: Address: 135502 Function: 255
POCSAG1200-: Alpha:
ÄHlllMH0YyÄ(HPüÄ;:xhÄxh<ää:(Z:-KyähÄ:qäÜH1x(Öö>:;=;H,sÄyÄ;k<9hÄ4Ü;9h3xzÖh4:Üö(s3j=XYyÄHrÄ98X;(YHö;=Y4Ü;9h3xz(K
POCSAG1200-: Address: 135502 Function: 2 POCSAG1200-: Numeric: 0U 9]060U6-
460.81 ]5138186]4[03-3-[67386]4[0U9- 02478-]56098U 567382 3[5799
02.[U143]7UU- 9697U-502018488401 075U 1[9[0 POCSAG1200-: Alpha: 09:00-32
10/10 station staff have been asked to confirm. BH 0859öö POCSAG1200-:
Address: 1337798 Function: 3 POCSAG1200-: Alpha: ( POCSAG1200-: Address:
1337946 Function: 3 POCSAG1200-: Alpha: ! POCSAG1200-: Address: 1920326
Function: 3 POCSAG1200-: Alpha: ! POCSAG1200-: Address: 1920312 Function:
3 POCSAG1200-: Alpha: ! POCSAG1200-: Address: 1920245 Function: 3
POCSAG1200-: Alpha: ! POCSAG1200-: Address: 358509 Function: 2
POCSAG1200-: Numeric: 0U 9]060U65-660.023990.7]21000 POCSAG1200-: Alpha:
09:00-53 ALL OK POCSAG1200-: Address: 358509 Function: 255 POCSAG1200-:
Alpha: `bZfb@CSYsA(KgiAYKei POCSAG1200-: Address: 1780137 Function: 2
POCSAG1200-: Numeric: 1234 POCSAG1200-: Alpha: ! POCSAG1200-: Address:
1780100 Function: 2 POCSAG1200-: Numeric: 1234 POCSAG1200-: Alpha: !
POCSAG1200-: Address: 679182 Function: 2 POCSAG1200-: Numeric: 0U 9]061U69
86022683- ] 388.5]93-14146795]470 POCSAG1200-: Alpha: 09:01-24 Daily Test
Alert POCSAG1200-: Address: 1780140 Function: 2 POCSAG1200-: Numeric: 1234
POCSAG1200-: Alpha: ! POCSAG1200-: Address: 614926 Function: 2

No comments:

Post a Comment