You might look into one of the free regular expression tools to make jobs
like this easier. One is

http://www.ultrapico.com/Expresso.htm


On 9/25/07, Kenny Kinds <[EMAIL PROTECTED]> wrote:
>
> Doom
>
> It seems to be working fine except if there is more than one character
> between the sets, it one return the proper count. ie. it won't find the
> sets.
>
> ex sdrsd will reutrn true or 1
> but sdthrsd will return false or 0.
>
> any thoughts
>
> and thanks for all of your help.
>
> >Sure.  It follows basically the same principle.
> >
> >([a-z0-9]{2}).?\1
> >
> >This is, btw, a fairly inefficient regex, so I wouldn't run it against,
> >say, a K of data at a time, but for 8 chars, I expect the regex engine
> >overhead will be larger.  In other words, for your purposes, it's fine.
> >
> >(Not tested, YMMV)
> >
> >--Ben "HoF Regex Ninja" Doom
> >
> >Kenny Kinds wrote:
> >>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289425
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to