Hi, I have a strange problem with ereg() and ereg_replace(). I have a Linux RH 7.1 machine running apache and php4. On this server, if use ereg() or ereg_replace() with "{" or "}", for example, ereg_replace( "{key}", "word", $a_string); The web server will return following warnning msg: Warning: Invalid content of \{\} in /var/www/html/scrip.php on line # * # stand for the line number of ereg or ereg_replace. But I have used ereg/ereg_replace on many other php4 web servers without any problem. I guess this must has something to do with php configuration. I reviewed/compared phpinfo of my machine with other machines, couldn't find anything signaficant difference. Please, in these community, anyone can help me out. Thanks in advance! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]