In constructing ebooks, I often run into these unnecessary HTML tag pairs in files exported from InDesign:
<span class="no-break">I don</span>’t
or:
<span class="no-break">my decision.</span>
It always follow the pattern of <span class="no-break"> followed by some random amount of text and then a closing </span>. Deleting these tags (and there are lots of them!) manually in SublimeText is a huge time sink.
I'd like to have an AHK script or Regex code that will delete these specific tags but not the text between them, leaving, for example:
I don't
my decision.
Although it seems a simple problem, I've not been able to come up with anything that works. Thanks!