Php Remove Numbers From String

[Solved] Php Remove Numbers From String | Php - Code Explorer | yomemimo.com
Question : php remove numbers from string

Answered by : geeky-bravo

$words = preg_replace('/[0-9]+/', '', $words);

Source : https://stackoverflow.com/a/14236162/212889 | Last Update : Fri, 02 Oct 20

Question : php remove numbers from string

Answered by : condemned-caracal-hedoz6bx7ugz

function remove_nums ($string) { return preg_replace('/\d/', '', $string);
}

Source : | Last Update : Fri, 24 Jun 22

Answers related to php remove numbers from string

Code Explorer Popular Question For Php