title: Use Powershell to extract remainder of line after certain text
body: <p>I have a text file with headlines from a LexisNexis Search.  I would like to extract the headline from each entry, which comes after the string "HEADLINE: " in the file, and append it to another text file using PowerShell.  I am using this line:</p>
  
  <pre><code>select-string -path "C:\Users\WGA\Documents\Personal\ANTH_5330\Content_Analysis\Newspaper_Stories,_Combined_Papers2016-04-18_17-59.txt" -Pattern "HEADLINE: " | select line | out-file C:\Users\WGA\Documents\Personal\ANTH_5330\Content_Analysis\Headlines.txt -append
  </code></pre>
  
  <p>It is sort of working and I am looking to improve the output.  I am linking to the two files below (One is the file to be searched, the other is the output):</p>
  
  <p><a href="https://drive.google.com/folderview?id=0Byxg512qAqFgU0JrRTNUbVlkeGs&amp;usp=sharing" rel="nofollow noreferrer">https://drive.google.com/folderview?id=0Byxg512qAqFgU0JrRTNUbVlkeGs&amp;usp=sharing</a></p>
  
  <p>I am open to suggestions to improve this output as, ideally, I would like one line per headline only in the output file.</p>