Test, validate and match regular expressions
This regex matches CSS or code references to asset URLs in the format url('/assets/...') or url("/assets/..."), with optional single or double quotes around the path. It captures the asset path between /assets/ and the closing quote/parenthesis, making it useful for extracting, replacing, or auditing asset references in stylesheets, HTML, or JavaScript. Common use cases include finding broken asset links, migrating asset paths, or analyzing resource usage.