eregi_replaceReplace regular expression case insensitive Description
string eregi_replace
( string
$pattern
, string $replacement
, string $string
)This function is identical to ereg_replace except that this ignores case distinction when matching alphabetic characters. Warning
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged. Parameters
Return Values
The modified string is returned. If no matches are found in
Examples
Example #1 Highlight search results
<?php Notes
Tip
eregi_replace is deprecated as of PHP 5.3.0. preg_replace
with the i ( See Also
|