Top "Ereg-replace" questions

ereg_replace() is a PHP function that performs string replacement using regular expressions.

php Replacing multiple spaces with a single space

I'm trying to replace multiple spaces with a single space. When I use ereg_replace, I get an error about …

php regex formatting string-formatting ereg-replace
Replace all characters except letters, numbers, spaces and underscores

I am looking to replace all characters in a string except letters, numbers, spaces and underscores. Could someone please provide …

php regex preg-replace ereg-replace
Fatal error: Uncaught Error: Call to undefined function ereg_replace() PHP 7

below code is giving me the fatal error in php 7 $jquery_click_hook = ereg_replace("[^A-Za-z0-9]", "", strtolower($value['name'])); …

php php-7 ereg-replace
replace ereg_replace with preg_replace

Hi need to change the function ereg_replace("[\]", "", $theData) to preg_replace

php regex string preg-replace ereg-replace
PHP ereg_replace deprecated

I have a script that throws me errors because I run PHP 5.3.1 What Do I have to use in the …

php deprecated ereg-replace
php - deprecated function ereg_replace() is deprecated in php

I Just Bought a PHP Script That Was Working Properly Till I Test It ON my Web Server. When I …

php function deprecated ereg-replace