$str = 'ㄱㄱㄱ가나다라abcd마바사아efgh항'; 
$hangul_jamo = '\x{1100}-\x{11ff}'; 
$hangul_compatibility_jamo = '\x{3130}-\x{318f}'; 
$hangul_syllables = '\x{ac00}-\x{d7af}'; 

preg_match("/['.$hangul_jamo.$hangul_compatibility_jamo.$hangul_syllables.']+/u",$desc[0],$descs);
Posted by 웹눈