title: Delete lines with highlighted text / delete highlighted text
body: <p>Does anyone know how to delete:</p>
  
  <ol>
  <li>lines with highlighted text    </li>
  <li>all highlighted text self</li>
  </ol>
  
  <p>(highlighted text (p.e. after a search) not selected text)</p>
  
  <hr>
  
  <p>Is there a command which search all highlighted text and delete the line?
  (independent which search command or function I used to highlight text)</p>
  
  <p>the <code>g/pattern/d</code> command does not always delete the highlighted text<br>
  p.e. <code>/^\(.*\)\(\n\1\)\+$</code>    --> highlight all double lines<br>
  but <code>g/^\(.*\)\(\n\1\)\+$/d</code>  --> does NOT delete all double lines   </p>