php remove character from string if that pattern exists code example
Example: php regex remove characters from string
// not case sensetive replace
// use "/[..]/i" for case sensetivie result
$string = preg_replace("/[aeiou]/", '', $string);
// not case sensetive replace
// use "/[..]/i" for case sensetivie result
$string = preg_replace("/[aeiou]/", '', $string);