protected function parseStatementAccount()
    {
        $results = [];
        if (preg_match('/:25:([\d\.]+)*/', $this->getCurrentStatementData(), $results)
            && !empty($results[1])
        ) {
            return $this->sanitizeAccount($results[1]);
        }

        // SEPA / IBAN
        if (preg_match('/:25:([A-Z0-9]{8}[\d\.]+)*/', $this->getCurrentStatementData(), $results)
            && !empty($results[1])
        ) {
            return $this->sanitizeAccount($results[1]);
        }

        return '';
    }
protected function parseStatementAccount()
    {
        $results = [];
        if (preg_match('/:25:([\d\.]+)*/', $this->getCurrentStatementData(), $results)
            && !empty($results[1])
        ) {
            return $this->sanitizeAccount($results[1]);
        }

        // SEPA / IBAN
        if (preg_match('/:25:([A-Z0-9]{8}[\d\.]+)*/', $this->getCurrentStatementData(), $results)
            && !empty($results[1])
        ) {
            return $this->sanitizeAccount($results[1]);
        }

        return '';
    }
protected function parseStatementAccount ( ) { $ results = [ ] ; if ( preg_match ( '/:25:([\d\.]+)*/' , $ this -> getCurrentStatementData ( ) , $ results ) && ! empty ( $ results [ 1 ] ) ) { return $ this -> sanitizeAccount ( $ results [ 1 ] ) ; } // SEPA / IBAN if ( preg_match ( '/:25:([A-Z0-9]{8}[\d\.]+)*/' , $ this -> getCurrentStatementData ( ) , $ results ) && ! empty ( $ results [ 1 ] ) ) { return $ this -> sanitizeAccount ( $ results [ 1 ] ) ; } return '' ; }
uses field 25 to gather accoutnumber.

@return string accountnumber
uses field 25 to gather accoutnumber .