Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^([0-9][0-9]*)+(\.[0-9]{1,2})?$
/
gm

Description

^([0-9][0-9]*)+(.[0-9]{1,2})?$

Submitted by zhanyue - 3 years ago