OXID eShop CE  4.9.11
 All Classes Files Functions Variables Pages
oxsepabicvalidator.php
Go to the documentation of this file.
1 <?php
2 
8 {
9 
23  public function isValid($sBIC)
24  {
25  $sBIC = strtoupper(trim($sBIC));
26 
27  return (bool) getStr()->preg_match("(^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$)", $sBIC);
28  }
29 }