first you read the complete file into one string
then you can scan the file for 'keywords' or expressions
that mark beginning of a section
then you create new strings, substrings, out of parts of the original string
suitable functions may be [man]strpos[/man] [man]substr[/man]
Here I made an experiment. It works.
I copied the code from your post, and saved it as a textfile:
lions_at_bears.txt
Then if I run this script ( read comments ) I get 4 substrings
from sections of the original file.
<?php
$gamelogfile = 'lions_at_bears.txt';
// we put all file contents into a string $def ( default )
$def = file_get_contents( $gamelogfile );
$pos0 = 0;
// search for pos where 'Game ..' starts, we begin at pos0
$pos1 = strpos( $def, 'Game Statistics', $pos0 );
// first substring is from pos0 with length between pos1-pos0
$str1 = substr( $def, $pos0, $pos1-$pos0 );
$pos2 = strpos( $def, 'Individual Stats', $pos1 );
$str2 = substr( $def, $pos1, $pos2-$pos1 );
// to avoid find same 'Individual ...' we start search 2 chars later
$pos3 = strpos( $def, 'Individual Stats', $pos2+2 );
$str3 = substr( $def, $pos2, $pos3-$pos2 );
$pos4 = strpos( $def, 'Game Log Ends', $pos3 );
$str4 = substr( $def, $pos3, $pos4-$pos3 );
// Display
echo '<pre>';
echo $str1; // first part
echo $str2; // game statistics
echo $str3; // individual stats team1
echo $str4; // individual stats team2
echo '</pre>';
?>