Re: [PHP] reg exp problems

2002-06-01 Thread Michael Sims
On Sat, 1 Jun 2002 16:56:04 +0100, you wrote: >Hi, >I've never used a reg exp, but I was trying to do something simple, and I just can't >seem to do it :) > >I have a varible $fdata which contains the contents of a webpage, and I want to strip >out the tag. > >I try: >$fdata = preg_replace("",

Re: [PHP] reg exp problems

2002-06-01 Thread Andrew Brampton
ay, June 01, 2002 6:02 PM Subject: Re: [PHP] reg exp problems > On Saturday 01 June 2002 23:56, Andrew Brampton wrote: > > Hi, > > I've never used a reg exp, but I was trying to do something simple, and I > > just can't seem to do it :) > > > > I have a

Re: [PHP] reg exp problems

2002-06-01 Thread Jason Wong
On Saturday 01 June 2002 23:56, Andrew Brampton wrote: > Hi, > I've never used a reg exp, but I was trying to do something simple, and I > just can't seem to do it :) > > I have a varible $fdata which contains the contents of a webpage, and I > want to strip out the tag. > > I try: > $fdata = pre

[PHP] reg exp problems

2002-06-01 Thread Andrew Brampton
Hi, I've never used a reg exp, but I was trying to do something simple, and I just can't seem to do it :) I have a varible $fdata which contains the contents of a webpage, and I want to strip out the tag. I try: $fdata = preg_replace("","",$fdata); But its stripping out everything between th