Regular Expressions 101

Community Patterns

1...34567...138

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
[\x{0621}-\x{0651}\x{067E}\x{0686}\x{0698}\x{06A9}\x{06AF}\x{06C0}\x{06CC}]+
/
ugm

Description

Regex for find persian letters in a string

Submitted by Hamed Faryabi - 4 years ago