Test, validate and match regular expressions
This regular expression matches Jordanian International Bank Account Numbers (IBANs) starting with the country code "JO" in any case combination. It validates the standard structure including two check digits, a four-letter bank code, and a 22-digit basic bank account number. Additionally, the pattern accommodates optional spaces or hyphens as separators between the components, making it highly practical for form validation in financial applications.