Re: [PHP] Re: Removing link on the fly, but leave link text

2010-08-31 Thread Jim Lucas
Ashley Sheridan wrote: On Tue, 2010-08-31 at 17:15 -0300, Jo?o C?ndido de Souza Neto wrote: Theres an eror. The correct is: $pattern = array( "/]>/", "//" ); $text = preg_replace($pattern, "", $text); -- Joo Cndido de Souza Neto ""Joo Cndido de Souza Neto"" escreveu na mensage

Re: [PHP] Re: Removing link on the fly, but leave link text

2010-08-31 Thread Phpster
On Aug 31, 2010, at 16:26, Ashley Sheridan wrote: > On Tue, 2010-08-31 at 17:15 -0300, Jo?o C?ndido de Souza Neto wrote: > >> Theres an eror. >> >> The correct is: >> >> $pattern = array( >>"/]>/", >>"//" >> ); >> >> $text = preg_replace($pattern, "", $text); >> >> >> -- >> Joo

Re: [PHP] Re: Removing link on the fly, but leave link text

2010-08-31 Thread Ashley Sheridan
On Tue, 2010-08-31 at 17:15 -0300, Jo?o C?ndido de Souza Neto wrote: > Theres an eror. > > The correct is: > > $pattern = array( > "/]>/", > "//" > ); > > $text = preg_replace($pattern, "", $text); > > > -- > Joo Cndido de Souza Neto > > ""Joo Cndido de Souza Neto"" escreveu na

[PHP] Re: Removing link on the fly, but leave link text

2010-08-31 Thread Jo�o C�ndido de Souza Neto
Try this: $pattern = array( "/]/", "//" ); preg_replace($pattern, "", $text); -- João Cândido de Souza Neto "Karl DeSaulniers" escreveu na mensagem news:007bc8e1-b2c8-4dd5-9d18-eb07b0d55...@designdrumm.com... > Hi, > Say I have some text. > > $text = 'You can logon here: http://web