* Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 03:33]:
> hi there,
Backatcha,
> Have u tried this...
>$string = 'foo';
> print preg_replace("/^\s$string\s/",' ','bfoo foo foobar.') . "\n";
> print eregi_replace("^[[:space:]]".$string."[[:space:]]",' ','bfoo
> foo alfoobar.') .
hi there,
Have u tried this...
This is not working properly..
Output I got is
bfoo foo foobar. bfoo foo alfoobar
help me out
Rgds,
Desikan
On Sat, 9 Feb 2002 03:01:40 -0500, "Brian Clark" <[EMAIL PROTECTED]>
said:
> * Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 02:52]:
>
> > hi Tha
* Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 02:52]:
> hi Thanks,
Sure,
> But I want to do thr replace operation for
> regular exprerssion and not exactly for the string alone...
> like > ^and$,a*, etc
I like the top better..
--
Headers set. CCs on list replies -> bit bucke
* Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 02:17]:
> Hi there,
Hi,
> Please help me out in the following...
> $is='is';
> echo eregi_replace(" ".$is." "," ","This is a test string which contains
> is in dismissal");
> ?>
> Actually I want to replace "is" alone from the string and not all t
4 matches
Mail list logo