I am sending a few telnet cmds to a device and reading back its result values in a array. I need to filter the data, but I’m not sure if preg_split() or preg_match() is better suited. After isolating the desired rows of text, I need to store several portions of text in a mysql table — for each row. All