How to get the serial monitor to only show a specific part of what it outputs?

You could modify your php script to not output all that crap. None of mine do.