Regular Expressions 101

Library entries

匹配整数(带小数位)

Vote

0

Regular Expression
pcre

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

Description

Loading markdown...
Submitted by solelyli - 8 months ago