SOLVED
How to detect if a field contain Chinese characters
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Dicky_Feng
5 - Atom
‎05-05-2020
08:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There is a field in one of my table which may contain Chinese and English characters.
May I know how could I do to detect if the field contain Chinese characters? I would like to find out the record which contain Chinese character.
Thanks~
Solved! Go to Solution.
Labels:
- Labels:
- Datasets
3 REPLIES 3
17 - Castor
‎05-05-2020
08:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Dicky_Feng ,
You can use the following regex expression in regex tool: [a-zA-Z]+
Example attached as well.
Best,
Fernando Vizcaino
‎05-06-2020
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks~ I think it works.
Although it show True for English only, I could reverse the match status to indicate the field contain Chinese Character~
15 - Aurora
‎05-06-2020
02:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Dicky_Feng,
You could change @fmvizcaino's expression slightly to [!a-zA-Z]+ which would stop the need to reverse your true false string.
Regards,
Jonathan
