Am working on a simple search input. It splits terms by space, which works nicely. However it does not recognize other languages spaces.
I'd like to preg_replace other languages spaces to a standardized space.
example,
$pattern       = array(
   //insert other language space codes here (I don't know what they are or how to find them) 
);
$replacement   = ' ';
$string        = "日本語 の スペース です";
$cleaned = preg_replace($pattern, $replacement, $string);