Test, validate and match regular expressions
Matches filenames from a Qware batch processing system with two main formats: files prefixed with 'qwarebatch' followed by a type code (like gptres, lc, ra, etc.) or short department codes (AF, GF, CO, DC, NT). Expects 5-8 digits before a .TXT extension. Useful for filtering batch job output files or log files in enterprise file management.