remove substrings php code example
Example 1: php replace
str_replace ($search, $replace, $subject);
Example 2: replace all numbers in string php
$words = preg_replace('/[0-9]+/', '', $words);
str_replace ($search, $replace, $subject);
$words = preg_replace('/[0-9]+/', '', $words);