report_id="545687"

is part of an xml feed, that i turn into a var
then need to extrapolate that into a var called

#reportId#

tw

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


The way you defined it:

<cfset report_id = "545687">

What you probably mean is something like:

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

Dick


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

> report_id="545687"
>
>
> if i wanted to find that string above (report_id="545687"),
> and extract the digits from inside the
> string, and make them a cf variable called
> reportId....whats the best way?
>
> im struggling with this one.....
>
> thanks :)
>
> ...tony
>
> tony weeg
> [EMAIL PROTECTED]
> www.revolutionwebdesign.com
> rEvOlUtIoN wEb DeSiGn
> 410.334.6331
>
> 

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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