Regular Expressions 101

Community Patterns

2

UUID 4

PCRE2 (PHP >=7.3)
Detects any UUID 4 strings
Submitted by ShadowNox - 2 years ago

验证金额 "-999999999.99 ~ 999999999.99" ,小数点保留2位

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^-?\d{0,9}(\.\d{1,2})?$
/
gm

Description

Loading markdown...
Submitted by cp.l - 3 years ago