<?php $subject = "my email is spark@imooc.com"; //在这里补充代码,实现正则匹配,并输出邮箱地址 $pattern = '/\w+@\w+.+/'; preg_match($pattern,$subject,$matches); print_r($matches); ?>
antenna
2014-11-02
0 回答
举报
0/150
提交
取消