Remove Certain Haracters From A String Php

[Solved] Remove Certain Haracters From A String Php | 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

Question : remove certain haracters from a string php

Answered by : doubtful-dragonfly-v2ts6uvh4b3n

$string = preg_replace("/[aeiou]/", '', $string);

Source : | Last Update : Sun, 03 Oct 21

Question : trim specific character from strin using php

Answered by : ankur-prajapati

$widget_id = trim($widget_text,'[]')

Source : https://stackoverflow.com/questions/5433754/methods-to-remove-specific-characters-from-string | Last Update : Mon, 01 Feb 21

Answers related to remove certain haracters from a string php

Code Explorer Popular Question For Php