cant seem to get this to jive....whats my issue?

<cfset ReportId =#REFind("report_id=""([0-9]+)"", myString, 1, true)#>
<cfset theNumber = Mid(myString, result.pos[2],result.len[2])>


tw


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


result = REFind("report_id=""([0-9]+)"", myString, 1, true);
theNumber = Mid(myString, result.pos[2],result.len[2]);

.I think! ;-)

> -----Original Message-----
> From: Tony Weeg [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 22 August 2002 1:39 p.m.
> To: CF-Talk
> Subject: regex question
> 
> 
> 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 
> 
> 

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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