Home >> PHP >> ereg_replace() function in PHP

ereg_replace() function in PHP

The ereg_replace() function was deprecated in php 5.3.0

The ereg_replace() function search and replace regular expression.

It is case-senstive.

It is like ereg().


$var="Year 2017";


echo $copyvar;


Year 2000

Post Your Comment

Next Questions
ereg_ireplace() function
preg_match() function
preg_replace() function
File handling
fopen() function
fclose() function
fread() function
create the file
Check the file is available or not
Destroy the file
Write into the file
Create into folder
Remove a folder
touch() function
file_exits() function
unlink() function
fwrite() function
mkdir() function
rmdir() function
is_dir() function
file_get_contents() function
fgets() function
basename() function
chgrp() function
chmod() function

Copyright ©2022 coderraj.com. All Rights Reserved.