Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^([1-9]|[1-9]\d)(\.?\d?\d?)$
/
g

Description

Cannot enter 0 or a proper fraction

Submitted by anonymous - 9 years ago