its a balmy 69 degrees
5-10 mph wind off the bay, some of my
friends are out on our dock fishing
for rockfish ;)

nice night!

tw


-----Original Message-----
From: Dick Applebaum [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 21, 2002 10:29 PM
To: CF-Talk
Subject: Re: regex question


Here's a one-liner that works on CFMX (Imade a typo in the original 
post... sorry).

<cfset sourceString ='some XML stuff... Report_ID="12345" some more XML 
stuff'>

<cfset Report_ID = ReReplaceNocase(sourceString, 
'.*report_id="([^\"]*)".*', '\1')>

<cfdump var="#sourceString#">
<br>
<cfdump var="#Report_ID#">

Dick

Ahh... Blue crabs

what's the temp ... about 70 here in Pasadena

On Wednesday, August 21, 2002, at 06:56 PM, Tony Weeg wrote:

> cfset report_id = ReReplaceNocase(sourceString,
> '.*report_id="([^\"]*)".*', '/1')>


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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

Reply via email to