求大神帮看看
<?php
$subject = "my email is spark@imooc.com";
//在这里补充代码,实现正则匹配,并输出邮箱地址
$p = '/\w+@\w+\.\w+)/';
preg_match($p,$subject,$matches);
print_r($matches[1]);
哪里的问题啊
<?php
$subject = "my email is spark@imooc.com";
//在这里补充代码,实现正则匹配,并输出邮箱地址
$p = '/\w+@\w+\.\w+)/';
preg_match($p,$subject,$matches);
print_r($matches[1]);
哪里的问题啊
2016-10-22
举报