replace all numbers in string php
snippet in php

php replace string within string

user580

$new_string = str_replace( $take_out, $put_in, $string);

php replace

user5483

str_replace ($search, $replace, $subject);

replace all numbers in string php

user3525

$words = preg_replace('/[0-9]+/', '', $words);