Test, validate and match regular expressions
This regular expression matches an International Bank Account Number (IBAN) formatted for Spain, which consists of 24 characters (two country letters, two check digits, and five groups of four digits). It allows for optional spaces or asterisk separators between the alphanumeric blocks. It is highly useful for validating user input in financial applications or extracting Spanish bank account details from formatted text.