Regexp Greek chars by number

前端 未结 1 1291
渐次进展
渐次进展 2021-01-24 06:21

I deal with strings that contain Greek and English (Latin) text. I\'d like to use a regex to catch all the Greek words that contain 4 or more characters on them.

Using r

相关标签:
1条回答
  • 2021-01-24 07:24

    Are you using the UTF-8 pattern modifier?

    /\p{Greek}{4,}/u
    
    0 讨论(0)
提交回复
热议问题