Build, test, and debug regular expressions
This regular expression matches a single alphabetic character (either uppercase or lowercase) immediately followed by a sequence of 1 to 7 digits. It is commonly used to validate or extract identifiers such as product codes, invoice numbers, or vehicle plate prefixes where a letter is followed by a numeric component of variable length. The pattern ensures the letter comes first and constrains the digit count to a practical range.