Its been a loooong time since I did anything in php and now I want to do a parser for a text like this one that would put the appropriate varibles into an array or a few arrays. Then put it all into a db which isnt that much of a problem, but the parser is.
How would I go about doing this?
2004.08.10 22:25:00
Victim: Calisto Lockhart
Corporation: LEGI0N
Destroyed Type: Bellicose
Solar System: Manarq
System Security Level: 0.8
Involved parties:
Name: Arud (laid the final blow)
Security Status: 1.2
Corporation: MASS
Ship Type: Malediction
Weapon Type: Medium Afocal Pulse Maser I
How would I go about doing this?