I have seven lines of text. I want to use PHP to do the things below.
First of all, I want to remove all the lines which don't have the word 'MARCO1998' in them.
Then, for the remaining lines, I want to remove everything except for the 1-3 numbers after the word 'MAP'
And then, after there's only seven rows of 1-3 numbers left, I want to remove the duplicates.
17.10.16 11:32:39 MAP104 MARCO1998 zerstoert NIGHTRIDER
17.10.16 14:17:25 MAP66 MARCO1998 zerstoert SPARTACULS
17.10.16 14:26:15 MAP66 MARCO1998 zerstoert SUPERONE
17.10.16 23:09:04 MAP104 MARCO1998 zerstoert JOCKSTRAP7
18.10.16 14:27:45 MAP244 MARCO1998 zerstoert MARIA07
18.10.16 19:50:37 MAP40 MARCO1998 zerstoert LILIENKILL
19.10.16 07:08:41 MAP186 KOBOLD1 zerstoert MARCO1998