Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
var\(([^)]+)\)
/
gm

Description

匹配css变量括号里的值

Submitted by artiely - 2 years ago