Test, validate and match regular expressions
This regex extracts numeric quantities from product packaging and nutrition label fields. It matches labels such as 'PackageQuantity:', 'ServingsPerContainer:', 'PerPackage:', and variations with optional 'Servings' prefix, followed by alphanumeric/dot characters and a captured integer. It's useful for parsing structured text in food labels, inventory systems, or any document where serving or package counts appear with a keyword prefix.