Regular expression for detecting "repeated Chinese characters"

Hi, if anyone knows a regular expression that can detect “repeated characters” like the one below (燈燈) in Chinese, I would be grateful if you could let me know.

如果電池過熱,指示燈燈將閃爍紅色。

Thank you!

Source or target:
([\x4E00-\x9FFF\x3400-\x4DBF\x20000-\x2A6DF\x2A700–\x2B73F\x2B740–\x2B81F\x2B820–\x2CEAF\x2CEB0–\x2EBEF\x30000–\x3134F\x31350–\x323AF\xF900-\xFAFF\x2F800-\x2FA1F\x2F00–\x2FDF\x2E80–\x2EFF\x3000–\x303F])=1@1

Search mode: regular expressions
PowerSearch: off.

More info:
https://docs.xbench.net/user-guide/regular-expressions/#body-inner

1 Like

@omartin
Thanks a lot!
It was properly detected with this regular expression :grinning:

Best regards,

Hello there, is there any way to detect “repeated chinese words” like “经常经常”“根据根据”?
Many thanks.

Try the following search:

Source or target: ([\x4E00-\x9FFF\x3400-\x4DBF\x20000-\x2A6DF\x2A700–\x2B73F\x2B740–\x2B81F\x2B820–\x2CEAF\x2CEB0–\x2EBEF\x30000–\x3134F\x31350–\x323AF\xF900-\xFAFF\x2F800-\x2FA1F\x2F00–\x2FDF\x2E80–\x2EFF\x3000–\x303F]+)=1@1
Search mode: regular expressions
PowerSearch: off.

1 Like

It works perfectly. Many thanks