Odd. In my Calibre editor that works just fine.
A couple of thoughts, though (could just be typos). First, you should close your <br> tags. IOW, <br/>, not just <br>. Second, are you sure all your <h1></h1> tags will be on the same line? Because, as written, your search string won't find multiple line <h1>s. And, third (possibly related to the problem you're seeing), do you have the "Dot All" box checked at the bottom of the editor screen? With it unchecked, it works as you want for single line <h1>s. With it checked, it'll pick up multiple line <h1>s, but also those <h1>s without a <br/> and stretch the selection to the next </h1>.
|