Regular Expressions 101

Sponso⁠rs

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

/
#([[:xdigit:]]{3}){1,2}\b
/
img

Description
Created·2015-09-15 09:47
Type·Match
Flavor·PCRE (Legacy)

Matches instances of colour hex codes with either 3 or 6 digits.

Submitted by Tom Higginson
Open Workspace