First off I've got to say I LOVE TextPad! But anyways, I'm trying to replace the HTML tags around certain portions of text as to quickly assist in moving a file over to a CSS style sheet.
It'a always a bit hard to give a working example with only one line of example since the other lines might be different and the example might not work for those lines. Anyway for your current example this one should work:
I don't know what the rest of the lines look like so might be some lines where it doesn't match correctly. In that case you need to provide some more lines in your example and include the lines where this doesn't work. Maybe some small adjustments is required to make it work or maybe it's a bit harder then it seems.
I'm not at work right now (won't be until Monday) so I can't provide any more examples, however the majority of the lines that need to be replaced are very similar to that, i.e. just different widths or attributes, etc.
The real complication in this example will be if the closing tag is not always on the same line.
If the information inside the tags goes across more than one line, then you may have to do multiple passes, each one designed to handle a different number of enclosed lines.
So a good sample of lines should be included showing all combinations to be searched.....