Re: [PHP] ereg et all - new question..

2002-01-31 Thread Richard Crawford
otta look for it again > :-) > > Thanks, > > Edward > > - Original Message - > From: "Richard Crawford" <[EMAIL PROTECTED]> > To: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday,

Re: [PHP] ereg et all - new question..

2002-01-31 Thread Edward van Bilderbeek - Bean IT
IT" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 11:20 PM Subject: Re: [PHP] ereg et all - new question.. > Seems like that makes it a LOT easier. > > Use eregi_relace() instead of ereg_replace(). eregi allows for > case-insensitivity. > &

Re: [PHP] ereg et all - new question..

2002-01-31 Thread Richard Crawford
Sorry, that should be: eregi_replace("(this)","\\1",$str); On Thu, 2002-01-31 at 14:20, Richard Crawford wrote: > Seems like that makes it a LOT easier. > > Use eregi_relace() instead of ereg_replace(). eregi allows for > case-insensitivity. > > Try > > eregi_replace("this","

Re: [PHP] ereg et all - new question..

2002-01-31 Thread Richard Crawford
Seems like that makes it a LOT easier. Use eregi_relace() instead of ereg_replace(). eregi allows for case-insensitivity. Try eregi_replace("this","\\1",$str); That should do it, though I haven't tried it myself. On Thu, 2002-01-31 at 14:14, Edward van Bilderbeek - Bean IT wrote: >

Re: [PHP] ereg et all - new question..

2002-01-31 Thread Edward van Bilderbeek - Bean IT
Maybe I better ask my question different... what i want to do is, to highlight certain text in a string... for example: "This equals this equals tHis..." has to become: "This equals this equals tHis"... so dispite the case, the 's should be put around it... does that make it easier? not for me