This works well for CFMX, but not so much in CF5 and earlier. Jerry
Jerry Johnson Web Developer Dolan Media Company >>> [EMAIL PROTECTED] 12/03/04 12:11PM >>> Actually, this is something you can easily do with RegEx. reReplaceNoCase(textString, "<span>(.*?)</span>", "\1","ALL") Should remove all <span> and </span> tags where no attributes are set, but leave whatever is in between.. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186110 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

