Regular Expressions 101

Community Patterns

1...56789...877

Pesables

0

Regular Expression
PCRE (PHP <7.3)

/
^(0|[1-9]{1,3})([.,][1-9]{1,3})?$
/
gm

Description

4 enteros / coma o punto / 3 decimales

Submitted by nico-ber - 3 years ago