php regex remove everything after a character 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);