Regular Expressions 101

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 - 4 years ago