Regular Expressions 101

Community Patterns

Match CSS Gradients

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\w+-gradient\(.*?\)\)|\w+-gradient\(.*?\)
/
gm

Description

Match CSS Gradients

Submitted by Sean Dellis - a year ago (Last modified a year ago)