Regular Expressions 101

Sponsors

Library entries

CSS URL parser tilde only

Vote

2

Regular Expression
javascript

/
url\((\'|\")~[\w.\/\-]*(png|gif|jpg|jpeg|svg)[\w.\/]*(\'|\")\);*\s*
/
g

Description

Loading markdown...
Submitted by @adjavaherian - 7 years ago