Regular Expressions 101

Community Patterns

Find SCSS color variables and their values

0

Regular Expression
ECMAScript (JavaScript)

/
\$([a-z0-9-]+):\s+(.[^;]{3,6}\s*(!default)?);
/
g

Description

no description available

Submitted by anonymous - 5 years ago