Regular Expressions 101

Community Patterns

4位小数校验

0

Regular Expression
PCRE (PHP <7.3)

/
(^[1-9][0-9]*\.{0,1}\d{0,4}$)|(^[0-9]\.{0,1}\d{0,4}$)
/
gm

Description

no description available

Submitted by anonymous - 5 years ago