Regular Expressions 101

Library entries

finding relative urls in a css file

Vote

0

Regular Expression
javascript

/
url\(['"]?(?!(?:\w{3,4}:))([^\)'"]+?)['"]?\)
/
gi

Description

Loading markdown...
Submitted by anonymous - 4 years ago