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

