title: How to split an RTF file into lines?
body: <p>I am trying to split an RTF file into lines (in my code) and I am not quite getting it right, mostly because I am not really grokking the entirety of the RTF format.  It seems that lines can be split by \par or \pard or \par\pard or any number of fun combinations.</p>
  
  <p>I am looking for a piece of code that splits the file into lines in any language really.  </p>