开发者

perl regex to php

%\b[A开发者_高级运维-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b%

how do i make this understood for PHP

i want to find all email addresses in an html doc


PHP supports Perl regex through the preg_replace and preg_match functions. You don't need to change your regex at all.


You may want to consider adjusting your regex to capture more address.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜