Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
([1-9][0-9]*(?:\.[0-9]{1,})?)
/

Description

整数或小数

Submitted by anonymous - 3 years ago