//方法一
//方法二
preg_match_all('/check user/i',$string,$matches);
print_r($matches[0]);
//方法三
preg_match_all('/]*>[^<]*/i',$string,$matches);
//方法四
//方法五
preg_match_all('/check user/is',$str,$arr);