Build, test, and debug regular expressions
This regex matches any sequence of one or more characters that are not Han (Chinese) characters, using the Unicode property \p{Han} and negating it. With the 'u' flag, it correctly handles Unicode code points, and the 'g' flag allows global matching. It is useful for checking whether a string contains no Chinese characters, or for extracting/splitting non-Chinese segments from mixed text.