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 
> 
> 
______________________________________________________________________
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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to