<?php
$mode = ‘/([\w\.\_]{2,10})@(\w{1,}).([a-z]{2,4})/‘;
$string = ‘[email protected]‘;
echo preg_match($mode,$string);
?>
时间: 2024-12-17 08:15:15
<?php
$mode = ‘/([\w\.\_]{2,10})@(\w{1,}).([a-z]{2,4})/‘;
$string = ‘[email protected]‘;
echo preg_match($mode,$string);
?>