Build, test, and debug regular expressions
This regular expression matches a string that starts with one or more alphanumeric characters, followed by a period and a specific file extension. It captures the filename and the extension separately into two groups. It is commonly used to validate or parse file names for common image formats like JPG, PNG, GIF, and BMP, as well as PDF documents.