Revision: 8104
Updated Code
at September 23, 2008 06:46 by sublimino
Updated Code
$test = '23 124 124 4 2 21 4 142 lajdlkajsldkajs jasd 124 what great data t a a'; $test = preg_replace( '([\ ])', ' ', $test ); echo $test;
Revision: 8103
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at September 2, 2008 11:57 by sublimino
Initial Code
$test = '23 124 124 4 2 21 4 142 lajdlkajsldkajs jasd 124 what great data t a a'; $test = preg_replace( '([\$\-\(\) ])', ' ', $test ); echo $test;
Initial URL
Initial Description
Initial Title
all spaces become single spaces regex
Initial Tags
regex
Initial Language
PHP