티스토리 뷰

<?

$content="1. xss@hanmail.net dd 2. ddd@naver.com ff 3. ddd@yahoo.co.kr dfsd";


preg_match_all( "/[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/i", $content, $matches );


print_r($matches);

print_r($matches[0]);


?>

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/09   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함