Build, test, and debug regular expressions
This regex matches file extensions for common document, data, and archive formats. It captures extensions for documents (doc, docx, pdf, txt), spreadsheets (xls, xlsx, csv), presentations (ppt, pptx), archives (zip, tar, gz), and other file types. With the case-insensitive flag, it's useful for validating file uploads or filtering files by their extensions in web applications.