Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
#[0-9a-fA-F]{6,6};
/

Description

Searches for hex colors in HTML code.

Submitted by Barlean - 10 years ago