比如有这样的字符串
$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);
原文链接:https://www.f2er.com/regex/361305.html比如有这样的字符串
$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);
原文链接:https://www.f2er.com/regex/361305.html