分隔符不得为字母数字或反斜杠及preg_Match。
$string1 = "My name is 'Kate' and im fine"; $pattern = "My name is '(.*)' and im fine"; preg_match($pattern , $string1, $matches);echo $matches[1];
警告:preg_Match()[Function.preg-Match]:分隔符不能是字母数字或反斜杠
一只萌萌小番薯
叮当猫咪
婷婷同学_
泛舟湖上清波郎朗
随时随地看视频慕课网APP