title: Replacing from match to end-of-line
body: <p>This should be incredibly easy but I can't get it to work.  I just want to use <strong><em><code>sed</code></em></strong> to replace from one string to the end of a line.  For example if I have the following data file:</p>
  
  <pre><code>   one  two  three  five
     four two  five five six
     six  one  two seven four
  </code></pre>
  
  <p>and I want to replace from the word "two" through the end of the line with the word "BLAH" ending up with the output:</p>
  
  <pre><code>   one BLAH
     four BLAH
     six one BLAH
  </code></pre>
  
  <p>wouldn't that just be:  </p>
  
  <pre><code>   sed -e 's/two,$/BLAH/g'
  </code></pre>
  
  <p>I'm not the best at regex to maybe that's the problem</p>