ereg_replace

 string ereg_replace ( string $pattern , string $replacement , string $string ) 

説明

This function scans string for matches to pattern, then replaces the matched text with replacement. Warning: This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.

戻り値

The modified string is returned. If no matches are found in string, then it will be returned unchanged.