# The character set API uses to count Chinese words in user name

**URL:** <https://devforum.zoom.us/t/the-character-set-api-uses-to-count-chinese-words-in-user-name/1509>\
**Category:** API and Webhooks\
**Created:** [July 31, 2018, 10:10am UTC](https://devforum.zoom.us/t/the-character-set-api-uses-to-count-chinese-words-in-user-name/1509 "2018-07-31T10:10:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snow\_Helsing](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Snow\_Helsing](https://devforum.zoom.us/u/Snow_Helsing)\
**Post date:** [July 31, 2018, 10:10am UTC](https://devforum.zoom.us/t/the-character-set-api-uses-to-count-chinese-words-in-user-name/1509/1 "2018-07-31T10:10:02Z")

</div>

API document&nbsp;states that user’s first name and last name “Cannot contain more than 5 Chinese words.”. Some users’ name of my application do contain more than 5, so I’m going to filter names before submit.

I want to use the same rule (maybe a regex pattern like \p{Han} ?) to&nbsp;match Chinese words. Could anyone share the rule?

Sorry for my broken English

Best,  
Snow

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [August 1, 2018, 5:15pm UTC](https://devforum.zoom.us/t/the-character-set-api-uses-to-count-chinese-words-in-user-name/1509/2 "2018-08-01T17:15:01Z")

</div>

Hi Snow,&nbsp;

We have reached out to our Engineers about your question and will follow back with you as soon as possible with an answer.

Thanks

---

<div class="post-metadata">

**Author:** ![Snow\_Helsing](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Snow\_Helsing](https://devforum.zoom.us/u/Snow_Helsing)\
**Post date:** [August 2, 2018, 6:02am UTC](https://devforum.zoom.us/t/the-character-set-api-uses-to-count-chinese-words-in-user-name/1509/3 "2018-08-02T06:02:32Z")

</div>

Hi Michael

Thank you
