Regex to match all until blank line in Javascript
<p>What I am trying to accomplish is matching all text as well as blank lines in a file until it finds a completely blank line. The text itself looks something like this:</p>

<blockquote>
  <p>===Substantiv===</p>
  
  <p>Det var en gång en liten höna som gick på bio, fast det visste hon inte först.
  Alltså visste hon inte.
  Fast ändå var det ganska roligt för henne.</p>
  
  <p>==Annat==</p>
  
  <p>Trots att det var roligt var det inte det.</p>
</blockquote>

<p>What I would like to match is everything from "===Substantiv===" to the blank line just above "==Annat==". Since there happen to be more lines with three equal signs, I would also like the code to be somewhat easy to change to another word rather than "===Substantiv===".</p>

<p>What I have tried so far, using regex, is something like:</p>

<pre><code>===Adjektiv(.|\n)+
</code></pre>

<p>But as you can probably tell from the structure of that, there is no absolute way to end it upon locating a blank line, since that will go on forever until the very end of the text I would like to match.</p>

<p>Best regards,</p>