eregi_replace Replace regular expression case insensitive Description stringeregi_replace stringpattern stringreplacement stringstring This function is identical to ereg_replace except that this ignores case distinction when matching alphabetic characters. Highlight search results [^<]*)('. quotemeta($_GET['search']) .')'; $replacement = '\\1\\2'; $body = eregi_replace($pattern, $replacement, $body); ?> ]]> See also ereg, eregi, and ereg_replace.