savchukoleksii
7/7/2019 - 1:47 PM

Shopify cdn regex

const regex = /(http:|https:)?\/\/cdn\.shopify\.com\/(?<folder>(?!shopifycloud)(?!s\/javascripts)(?!s\/assets\/storefront)\w+\/)+(?<file>[-\w^&'@{}[\],$=!#().]+)(\?(v=\d+))?/gm;