Regular Expressions 101

Community Patterns

Find white color text in html HSL

0

Regular Expression
ECMAScript (JavaScript)

/
color\s*:\s*hsl\((0deg)\s+(0%)\s+(0*(7[5-9]|[89][0-9]|100)%)\s+\/\s+0*([0-9]|[1-8][0-9]|9[0-9]|100)%\)
/
gmi

Description

Find white color text in html (hsl)

Submitted by anonymous - 3 years ago