[g5] 일본어 이메일 주소 추출 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[g5] 일본어 이메일 주소 추출

페이지 정보

본문

lib/common.lib.php 

 

// 이메일 주소 추출 

function get_email_address($email)
{
    //preg_match("/[0-9a-z._-]+@[a-z0-9._-]{4,}/i", $email, $matches);
    preg_match("/\A([a-z0-9_\-\+\/\?]+)(\.[a-z0-9_\-\+\/\?]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}\z/i", $email, $matches); 

    return $matches[0];

추천0

댓글목록

등록된 댓글이 없습니다.

SELECT COUNT(DISTINCT `wr_parent`) AS `cnt` FROM g5_write_tipntech WHERE ((INSTR(LOWER(mb_id2c1), LOWER('l3434'))) ) and (wr_num between -825 and (-825 + 10000))

1054 : Unknown column 'mb_id2c1' in 'where clause'

error file : /bbs/board.php