diff --git a/Validate.php b/Validate.php index f507bd8..36e3956 100644 --- a/Validate.php +++ b/Validate.php @@ -131,7 +131,7 @@ class Validate // The IBAN matches in length and basic structure? $matches = null; - if(mb_ereg_match('/^([A-Za-z]{2})(\d{2})([A-Za-z0-9]{' . $country_length[$country] . ',' . $country_length[$country] . '})$/', $iban, $matches)) { + if(mb_ereg_match('/^([A-Za-z]{2})(\d{2})([A-Za-z0-9]{' . $country_length[$country] . '})$/', $iban, $matches)) { $checkNum = $matches[1]; $bban = strtoupper($matches[2]);