Regular Expressions 101

Community Patterns

Hex colours

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^(#(?:[A-z0-9]{3}){1,2})$
/
gm

Description

no description available

Submitted by Mark Cooper - 3 years ago