VS Code Regex: Conditional Find and Replace

I recently hit a wall optimizing an older Shopify theme. To fix our CLS score, I needed to inject width and height attributes into thousands of specific image tags. The catch? I had to target only the legacy placeholder images that hadn't been fixed yet, ignoring everything else. I needed a surgical solution. I needed VS Code Regex. But like most developers, I only really "know" Regex for about 48…