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,
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.
>
&
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","
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:
>
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
5 matches
Mail list logo