/ Published in: PHP
Replaces spaces by '\s+' which means one or more spaces
$string can be one string or one array of strings
$string can be one string or one array of strings
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function regex_spaces($string) { }