title: Ruby: How do I selectively remove line wrapping from a text file?
body: <p>I want to edit the following text so that every line begins with Dealer:. This means no wrapping/line breaks. For lines starting with System, wrapping is fine.</p>
  
  <p>What would a solution in ruby look like? Thanks</p>
  
  <p>This is located in a .txt file</p>
  
  <p>Dealer: 5 seconds left to act<br />
  Dealer: hitman2714 wins the pot (9)<br />
  Dealer: Hand #1684326626D<br />
  Dealer: Guitou699 has 5 seconds left to<br />
  act<br />
  Dealer: Guit¤u699 has timed out<br />
  Dealer: baj Hasan has 5 seconds left to<br />
  act<br />
  Dealer: baj Hasan has timed out<br />
  Dealer: hitman2714 has 5 seconds left<br />
  to act <br />
  Dealer: hitman2714 has timed out<br />
  System: The nightly $10,000 guarantee<br />
  will be starting in 20 minutes<br />
  Dealer: Dealer: Hand #1684326626D<br />
  Dealer: Perspextive posts the big<br />
  blind of 25<br /></p>
  
  <p><strong>Desired output:</strong></p>
  
  <p>Dealer: 5 seconds left to act<br />
  Dealer: hitman2714 wins the pot (9)<br />
  Dealer: Hand #1684326626D<br />
  Dealer: Guitou699 has 5 seconds left to act<br />
  Dealer: Guit¤u699 has timed out<br />
  Dealer: baj Hasan has 5 seconds left to act<br />
  Dealer: baj Hasan has timed out<br />
  Dealer: hitman2714 has 5 seconds left
  to act<br />
  Dealer: hitman2714 has timed out<br />
  System: The nightly $10,000 guarantee<br />
  will be starting in 20 minutes<br />
  Dealer: Dealer: Hand #1684326626D<br />
  Dealer: Perspextive posts the big blind of 25<br /></p>