Could probably do: reReplaceNoCase(textString, "</*span.*?>", "","ALL")
-joe On Fri, 03 Dec 2004 12:09:44 -0500, Jerry Johnson <[EMAIL PROTECTED]> wrote: > 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 - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186112 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

