Simply do a replace <cfset xxx = replace(#yourvariablename#,"Block Info ","", "all")> (typing from memory - don't shoot me if there are typo's)
That will get rid of the first part... Think you can figure out the rest from there ;) -----Original Message----- From: Scott Wilhelm [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2003 12:18 PM To: CF-Talk Subject: Find A Pattern Hello: I'm trying to find a data in between a pattern of text from a string...How would I go about getting it? For example, I want to get the ip address from this string "Block Info 163.153.124.62 Blocked." Thanks, Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137964 Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

