Test, validate and match regular expressions
This regex matches CSS url() references used in properties like background, excluding data URIs and absolute http/https links. It captures the URL path (which may be relative or use other schemes) after optional quotes or spaces, ignoring cases where the protocol is data: or http(s):. Useful for extracting local asset URLs from stylesheets, rewriting paths, or auditing external resource usage.