Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
[0-9]{1,5}
/
mg

Description

Check simple codes between 1 and 5 numbers: 281, 81992, 18, 829a7, 8299192

Submitted by Stormyz - 2 years ago