Selective band labels in TextMate
Is there a way to selectively erase HTML tags in TextMate - you can easily do that in Dreamweaver . TextMate allows you to strip all HTML tags, but I would like to get rid of them, let's say all <span>
and <font>
.
In a thread like this, is there a way to get rid of all inline CSS styles?
a source to share
Not that I know, but there is always the option to make Find / Replace for <span>
(and </span>
obviously) and leave the Replace field blank. Of course, this becomes a little more problematic if you have gaps with different class / id or what-have-you attributes and then you get into RegExp territory.
This should at least give you a start. I would be interested to know what else someone else has to suggest. Textmate is so customizable that I'm sure there is a better solution than what I suggested!
a source to share