比如有这样的字符串
$content_o = "Message from Barbara Witt: hello sms
Reply STOP to unsub";
([\s\S]*) “([\d\D]*)”、“([\w\W]*)” 来表示
preg_match('/:[\s\S]*Reply STOP/',$content_o,$out);
var_dump($out);
比如有这样的字符串
$content_o = "Message from Barbara Witt: hello sms
Reply STOP to unsub";
([\s\S]*) “([\d\D]*)”、“([\w\W]*)” 来表示
preg_match('/:[\s\S]*Reply STOP/',$content_o,$out);
var_dump($out);