Mega Code Archive
Categories
/
Php
/
Strings
Ereg_replace
$inmystring = "Hello World!"; $mynewstring = ereg_replace("Hello", "Goodbye", $inmystring); print $mynewstring; ?>