Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?!([\u4e00-\u9fa5]|\w+)).
/
g

Description

  • 只能匹配汉字,数字,字母
Submitted by anonymous - 6 years ago