Php Regex Remove Characters From String

[Solved] Php Regex Remove Characters From String | Php - Code Explorer | yomemimo.com
Question : php regex remove characters from string

Answered by : fahim-foysal-rabby

// not case sensetive replace
// use "/[..]/i" for case sensetivie result
$string = preg_replace("/[aeiou]/", '', $string);

Source : | Last Update : Sat, 03 Apr 21

Answers related to php regex remove characters from string

Code Explorer Popular Question For Php