I'm stuck with this and I'm sure its easy but I need to extract  
0.7025 from this result string.

i've got it as close as:  >0.07025< with 2 re's I'm sure it can be  
done in one any help is appreciated.

<cfset string = "<?xml version=""1.0"" encoding=""utf-8""?> <double  
xmlns=""http://www.webserviceX.NET/"";>0.7025</double>" />
<cfset result = reMatch('<double\b[^>]*>(.*?)</double>',string)/>
<cfdump var="#result#" />
<cfset result2 = reMatch('>\b(.*?)<',result[1]) />
<cfdump var="#result2#" />

Paul.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to