title: How to do something like grep -B to select only one line?
body: <p>Everything is in the title. Basicaly let's say I have this pattern</p>
  
  <pre><code>some text lalala
  another line 
  much funny wow grep
  </code></pre>
  
  <p>I grep funny and I want my output to be "lalala"</p>
  
  <p>Thank you</p>