Hi > Can I just ask what the difference is between ereg and preg_replace? Thanks. preg* are PCRE compatible functions. ereg*are POSIX Extended. AFAIR, the PCRE ones support several additional features and are binary safe, while the POSIX ones are not. -- Niel Archer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php