what OS? try grep URL filename | sed s/URL=//g
On Tue, 23 Oct 2001, Ryan Emerle wrote: > > I'm trying to come up with a regular expression that will > > help me turn > > this: > > > > [Object] > > ID=2031 > > URL=http://www.cnn.com/ > > OtherSrvLev=0w33a > > Category=31 > > > > Into: http://www.cnn.com/ > > > > You could easily do it with two statements. I don't think CF allows for > retrieving matches to regular expressions like perl. Assuming the text > above in in a variable called text, I would just do: > > <cfset text=REReplace(text,"^.*URL=","")> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists