You will likely need to take into account every space, tab, line feed and carriage return.
So
Should work
So
Code:
<div class="lbb-result__header">#13#10#13#10 <h2>#13#10 <span>