Regular Expressions 101

Community Patterns

Help creating a Regex Pattern

0

Regular Expression
PCRE (PHP <7.3)

/
^([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9])$
/

Description

Please help with a regex that will find a pattern like this ✖ or this ∀ or this Π

Submitted by anonymous - 10 years ago