开发者

perl regex to php

开发者 https://www.devze.com 2023-01-24 15:09 出处:网络
%\\b[A开发者_高级运维-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}\\b% how do i make this understood for 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

精彩评论

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