Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(\d{0,5})(\.)?(\d{0,1})?$
/
gm

Description

Numbers with 5.1 precision

Submitted by anonymous - 3 years ago