Skip to content

Instantly share code, notes, and snippets.

@aztack
Created May 13, 2025 06:42
Show Gist options
  • Save aztack/2798e6700c781f6155515689411965a0 to your computer and use it in GitHub Desktop.
Save aztack/2798e6700c781f6155515689411965a0 to your computer and use it in GitHub Desktop.
Chinese in string
(['"`])(?:(?!\1).)*[\u4e00-\u9fa5]+(?:(?!\1).)*\1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment