Will there be nested tags? ie <span>foo<span>bar</span>baz</span>
If not, a script or macro that starts at the current insertion point, backtracks until it finds a <span> block, removes it, and then moves forward until it finds a </span> and removes that should do the trick. Matt. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "supp...@barebones.com" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>