Test, validate and match regular expressions
This regex validates a bank account number format consisting of exactly 5 digits, a hyphen, 5 digits, another hyphen, and 3 to 12 digits. It is commonly used in financial applications to ensure account numbers follow a standard structured pattern, such as those used in certain banking systems or payment processing forms.