JSFiddle - React, Tailwind, and code Playground by Sahin Deniz September 24, 2019 JavaScript 1.7 const REGEX = /(\p{Script=Hani})+/gu; console.log('你好'.match(REGEX));