訂正
if (preg_match("/ser(.*);/", $ascii) {

if (preg_match("/ser(.*);/", $ascii)) {