Hi
use slash when you want to replace the special chars. $description_brief = ereg_replace ('\*' , "• " , $description_brief) ; Thanks, Muthukumar Selvarasu, Project Manager (Web Development), Webmasters Ltd. _____ From: php-list@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Sent: Wednesday, December 19, 2007 7:56 AM To: php-list@yahoogroups.com Subject: [php-list] problem with ereg_replace Hi I am trying to replace the * char in a string to • I have tried using ereg_replace and str_replace with $description_brief = ereg_replace ('*' , "• " , $description_brief) ; which gives me an error: Warning: ereg_replace() [function.ereg-replace]: REG_BADRPT and when I try str_replace nothing happens. Any suggestions? Thanks David [Non-text portions of this message have been removed]