First use [man]explode/man to explod the string on line breaks.
Next, use a [man]foreach/man loop to loop through that array. Once again, use [man]explode/man on each line's text, this time exploding on spaces. Now you'd have 3 array pieces - "Corners", "9", "8" etc. for each line.