Test, validate and match regular expressions
This regex matches HTML snippets on Coolstuffinc pages, extracting card details: alt text, class 'tn', either a card quantity number or 'Out of Stock', a price value, a quantity, and the word 'Foil'. It is used for scraping card inventory data, stock availability, pricing, and foil status from product listings.