sitNsmile
04-02-2010, 04:54 PM
How do you replace numbers but not static, cause the numbers can change, so I need it to be able to replace any type of numbers?
<?
$test = "hello 123";
$resplace_test= str_replace("[0-9]", "", $test);
echo $test;
?>
Thanks
<?
$test = "hello 123";
$resplace_test= str_replace("[0-9]", "", $test);
echo $test;
?>
Thanks