Regular expression with the cyrillic alphabet

后端 未结 3 1731
暖寄归人
暖寄归人 2020-12-01 16:11

I have an jQuery function for word counting in textarea field. In addition its excludes all words, which are closed in [[[tripple bracket]]]. It works great with latin chara

3条回答
  •  青春惊慌失措
    2020-12-01 16:40

    You can add the /u flag, which allows you to work with Unicode.

    When you add this flag, your example works.

提交回复
热议问题