Skip to content

Instantly share code, notes, and snippets.

@thecloudranger
Last active October 24, 2022 20:59
Show Gist options
  • Select an option

  • Save thecloudranger/e6b7b2eab70708075dcab26b03bc5865 to your computer and use it in GitHub Desktop.

Select an option

Save thecloudranger/e6b7b2eab70708075dcab26b03bc5865 to your computer and use it in GitHub Desktop.
Match english and arabic characters and numerals

//regex

^[\u0621-\u064A\u0660-\u0669a-zA-Z0-9-_\s]{4,35}$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment