preg_match
感觉已经过时了把?
$preg = '/good.+123/';
$str = 'I think this way is very good_123333333456789';
preg_match($preg,$str,$res);
print_r($res);
结果为: good123
感觉已经过时了把?
$preg = '/good.+123/';
$str = 'I think this way is very good_123333333456789';
preg_match($preg,$str,$res);
print_r($res);
结果为: good123
2017-10-11
举报