Test, validate and match regular expressions
This regex matches lines containing the word 'GASTEC' (case-insensitive) and extracts a tube identification code that follows either 'NO' or a comma. The captured ID can be a letter-coded type like '2H' or '3M', or a numeric code with optional suffix such as '30L' or '121SB'. It is useful for parsing gas detection tube catalogs, inventory lists, or laboratory equipment records.