I'm looking to get a count of the number of times a regex match can be found in a string. The best I can come up with is arrayLen(reMatch('expr','string')) which does work, but it seems like this approach is doing more work than it really needs to (I don't care about what the regex matched, I just want to know how many times a match was found). Anyone know of a more elegant solution to this?
Thanks in advance! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:321883 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4