The only problem w/ that, is that the string of text is huge (it's from a log file that is parsed by spaces, but only the program knows how to parse it back :(
Thanks, Scott > -----Original Message----- > From: Aunger, Mitch [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2003 1:29 PM > To: CF-Talk > Subject: RE: Find A Pattern > > > 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:137965 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

