$alphabet = 'A-Za-z';
$hangul_jamo = '\x{1100}-\x{11ff}';
$hangul_compatibility_jamo = '\x{3130}-\x{318f}';
$hangul_syllables = '\x{ac00}-\x{d7af}';
$cnt = preg_match_all('/['.$alphabet.$hangul_jamo.$hangul_compatibility_jamo.$hangul_syllables.']+/u', $utf8text, $matches);
print_r($matches);
$hangul_jamo = '\x{1100}-\x{11ff}';
$hangul_compatibility_jamo = '\x{3130}-\x{318f}';
$hangul_syllables = '\x{ac00}-\x{d7af}';
$cnt = preg_match_all('/['.$alphabet.$hangul_jamo.$hangul_compatibility_jamo.$hangul_syllables.']+/u', $utf8text, $matches);
print_r($matches);
반응형
'인터넷정보' 카테고리의 다른 글
| 로딩바 로딩중입니다 표시하기 (0) | 2007.10.11 |
|---|---|
| 페이징 (0) | 2007.10.11 |
| 페이징 (0) | 2007.10.11 |
| php에서 첨부파일이 포함된 메일 보내기 함수 (0) | 2007.10.11 |
| php에서 첨부파일이 포함된 메일 보내기 함수 (0) | 2007.10.11 |
| 문자열에서 한글과 영문자만 골라내기 (0) | 2007.10.11 |
| PHP를 이용한 메모리 DB (0) | 2007.10.11 |
| PHP를 이용한 메모리 DB (0) | 2007.10.11 |
| 런타임으로 자바스크립트 화일 열기 (0) | 2007.10.11 |
| 런타임으로 자바스크립트 화일 열기 (0) | 2007.10.11 |