<?php

$tests = [
  "0000 0000 0000 0000 00/0000 000",   // válido
  "0000000000000000 00/0000 000",      // válido
  "00000000 00000000 00/0000 000",     // válido
  "0000000 000000000 00/0000 000",     // inválido: espaços errados
  "0000 000 0000 0000 00/0000 000",    // inválido: tamanho da sequência errada
  "000000000000000 00/0000 000",       // inválido: tamanho da sequência errada
];

foreach($tests as $test)
{
  if (preg_match("/^((\d{4}\s?){3}\d{4}) (\d{2}\/\d{4}) (\d{3})$/", $test, $matches))
  {
    print_r($matches);
  }
}