Test, validate and match regular expressions
Matches the word 'triple' or 'double' followed by whitespace, an optional intermediate word (e.g., 'bottle' or 'malt'), and then the literal word 'box'. With the case-insensitive flag, it catches variants like 'Triple Box', 'DOUBLE malt BOX', or 'triple cheese box'. Commonly useful for parsing inventory lists, game commands, or product descriptions that mention boxed items prefixed by quantity descriptors.