For example, the Vanadium form validation plug-in that I introduced earlier is used this time. Because there are no 2-character words in the E text, you have to expand it yourself to distinguish Chinese and English characters. This article will introduce two ways to distinguish Chinese and English characters. Method: Use regular and charCodeAt methods to distinguish Chinese and English characters.