Regular Expressions 101

Community Patterns

1...56789...137

1 to 4095

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-3][0-9][0-9][0-9]|[4][0][0-8][0-9]|[4][0][9][0-5])$
/
gm

Description

1 to 4095

Submitted by anonymous - a year ago