Regular Expressions 101

Community Patterns

Community Library Entry

7

Regular Expression
PCRE (PHP <7.3)

/
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
/
gm

Description

[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*

Submitted by [A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]* - 10 years ago