Regular Expressions 101

Community Patterns

Replace for CSS

1

Regular Expression
PCRE (PHP <7.3)

/
url\(["|']*([^)\?]+\.\w{1,5})(\?[^)"']*)?["|']*\)
/
gm

Description

no description available

Submitted by anonymous - 6 years ago