Hmmm, I think I see what you're trying to do there, but it doesn't work. The files aren't very large at all and I am using CFMX. I'm not very good with Regexs so I'm not sure what's wrong, but it seems to not be stripping anything out.
John -----Original Message----- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 12:41 PM To: CF-Talk Subject: Re: RegEx help What version of Cold Fusion? How long is the longest possible string you are searching through? If newer than cf 5, or cf 5 and the max string is less than 20KB, <cfset fieldName="FirstName"> <cfset fieldVal=rereplace(content,".*#fieldName#: +([^ ]+) +.*","\1")> (I think) Jerry Johnson >>> [EMAIL PROTECTED] 10/21/04 12:26PM >>> I'm trying to parse through some information in a text document where there is information like this: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area. http://www.houseoffusion.com/banners/view.cfm?bannerid=44 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182222 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54