No probs. The [] are used to specify a set of characters. Your original version:
[(0-9)4\-(0-9)2\-(0-9)2T(0-9)2:(0-9)2:(0-9)2] was saying look for any of: 0 to 9, 4, -, 0 to 9, 2, - etc. etc. Adrian Building a DB of errors at http://cferror.org/ -----Original Message----- From: AJ Mercer [mailto:[EMAIL PROTECTED] Sent: 07 October 2008 09:56 To: cf-talk Subject: Re: ReFind - finding too much :-( this is doing the trick <cfif ReFind("\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}", local.fieldValue)> Thanks for your assistance Adrian. On Tue, Oct 7, 2008 at 5:48 PM, AJ Mercer <[EMAIL PROTECTED]> wrote: > like this <cfif ReFind("\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}", > local.fieldValue)> > > or does it need the square brackets? > <cfif ReFind("[\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}]", > local.fieldValue)> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:313515 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4