preg_replace autorise les espaces

[^A-Za-z0-9\w\ ]
______________^
Thoughtful Tapir