Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2025-08-26 18:11
Flavor·PCRE2 (PHP)

/
^([1-9]|[1-4][0-9]|50)$
/
mg
Open regex in editor

Description

Matches on any number from 1–50. Helpful for ProPay

Submitted by Eric Higdon