The option is called 'returnsubexpressions' and valid values are true or false. You can only return one instance of a match with refind() (and possibly one instance of a sub expression match if you use parens in the expression). To get more, you have to run the function again with a different starting position (I chose to change the string rather than the starting position).
At least that's what the docs say. Do you have a working example of what you are talking about with 'all' because if you can get them all at once... that would be very nice to say the least. I also don't see how I'm running it twice per loop unless you are counting the actual condition of the loop? ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:292712 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4