how to find a text inside a variable and replace by another in php code example
Example 1: php replace string within string
$new_string = str_replace( $take_out, $put_in, $string);
Example 2: replace all numbers in string php
$words = preg_replace('/[0-9]+/', '', $words);