Regular Expressions 101

Community Patterns

Hexadecimal value

0

Regular Expression
PCRE (PHP <7.3)

/
\B#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})\b
/
g

Description

no description available

Submitted by anonymous - 4 years ago