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