3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'v Bonjour  M GombertN°06737401  Récréditation Demande N°17217851 du 10 12 13'; $output = preg_replace("/[[:blank:]]+/"," ",$string); echo $output; $aWords = explode(' ', $output); print_r($aWords);

preferences:
31.97 ms | 402 KiB | 5 Q