Test, validate and match regular expressions
This PCRE regex extracts the URL or path from within a CSS `url()` function, capturing the content inside the parentheses. It handles optional surrounding whitespace and quotes (single or double), while correctly ignoring certain characters within the captured group. It is particularly useful for parsing stylesheets to find and manipulate asset paths like images, fonts, or imported files.