regex multi space replace

Run Settings
LanguagePHP
Language Version
Run Command
<?php $pattern = '/([\s]+)/'; $teks = "saya ingin makan sate"; $output = preg_replace($pattern,' ',$teks); echo $teks."\n"; echo $output; ?>
Editor Settings
Theme
Key bindings
Full width
Lines