Sorry, should have been
([a-z0-9]{2}).*\1
? means 0 or 1, * means 0 or more.
--Ben Doom
Kenny Kinds 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4