Re: [PHP-WIN] string function

2008-02-09 Thread Niel Archer
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 Lis

Re: [PHP-WIN] string function

2008-02-09 Thread trystano
Can I just ask what the difference is between ereg and preg_replace? Thanks. Tryst -Original Message- From: Elizabeth M Smith <[EMAIL PROTECTED]> To: php-windows@lists.php.net Sent: Fri, 8 Feb 2008 14:26 Subject: Re: [PHP-WIN] string function Viola Holownia

Re: [PHP-WIN] string function

2008-02-08 Thread Elizabeth M Smith
Viola Holownia wrote: > hi > > Have you tried ereg_replace() ? > http://www.php.net/manual/en/function.ereg-replace.php > > > cheers > viola > I would NOT suggest ereg_replace, especially on windows - if you need to do advanced replacement and str_replace doesn't work, try preg_replace - http:

Re: [PHP-WIN] string function

2008-02-07 Thread Viola Holownia
hi Have you tried ereg_replace() ? http://www.php.net/manual/en/function.ereg-replace.php cheers viola 2008/2/7 bedul <[EMAIL PROTECTED]>: > WHat function i use to make this sentence to bold only for a > text inside " " > > 1. Per costruire i Paper Model "munirsi" di un tubetto di > colla vinil