1 select 2 regexp_replace(str,'[^\\u4e00-\\u9fa5]','') as str1 3 from ( 4 select 'test测试test' as str 5 ) t 6 ;