title: Using regex to insert text BEFORE a line containing something (Notepad++)?
body: <p>I have several lines like this:</p>
  
  <pre><code>Apples
  __________
  B
  C
  
  Bananas
  ___________
  D
  E
  
  Carrots
  ____________
  F 
  G
  </code></pre>
  
  <p>I would like to make it so that Apples, bananas, and carrots are each their own separate heading in html.  So I would like to do a regex search for 3 consecutive underscores or more and then insert html heading tags in the line preceding it.  Can someone tell me how to do this with Notepad++ regex search and replace?  </p>