title: Perl regex: remove everything (including line breaks) until a match is found
body: <p>Apologies for the simple question. I don't clean text or use regex often. </p>
  
  <p>I have a large number of text files in which I want to remove every line until my regex finds a match. There's usually about 15 lines of fluff before I find a match. I was hoping for a perl one-liner that would look like this: </p>
  
  <pre><code>perl -p -i -e "s/.*By.unanimous.vote//g" *.txt
  </code></pre>
  
  <p>But this doesn't work. </p>
  
  <p>Thanks</p>