I thought I was finally catching on to this regex stuff but I guess not. I am using a tag from the developer exchange that strips a bunch of extra html that Word inserts into an HTML document. The text left over leaves a lot of extra <span>xyx</span> formatting. Since the opening <span> is empty I would like to remove them from the text. I tried this but no luck.
textString = "<P><SPAN><b>Duane Boudreau</b></SPAN></P><P><SPAN>[EMAIL PROTECTED]</SPAN></P>"; textString = reReplaceNoCase(textString, "<span>([^</span>]*)</span>", "\1", "ALL"); I thought that the text between the () meant all text except </span> between the opening string "<span>" and the next "</span>" What am I doing wrong here? Thanks, Duane ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:186041 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

