Regular Expressions 101

Community Patterns

0

Match color string

PCRE2 (PHP >=7.3)
Match color string
Submitted by EZ - a year ago
0

web validation

PCRE2 (PHP >=7.3)
web validation
Submitted by anonymous - a year ago
0

web validation

PCRE2 (PHP >=7.3)
web validation
Submitted by anonymous - a year ago
0

css var regex

PCRE2 (PHP >=7.3)
css var regex
Submitted by anonymous - a year ago

Numeric values greater than zero with decimal

5

Regular Expression
PCRE (PHP <7.3)

/
^[^0|\D]\d{0,9}(\.\d{1,2})?$
/

Description

Loading markdown...
Submitted by Eugene To - 8 years ago