>But why not use a RegEx to pull the <table> tag out of both bits of >content, then scan over using list functions, using a space as a >delimeter to start, then = as the secondary delimeter ...
Because some evil person could put, for example: <table title="This <table> is really=cool"> And either make your regex extra complicated, if not impossible. Far better to use DOM parsing for this sort of thing, and a good parser will have the intricacies of HTML built into it, so will be much simpler to use. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323044 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4