title: Dropping text up to a special character with Parsec
body: <p>I'm new to Haskell and Parsec --- my apologies if this question is trivial.</p>
  
  <p>I want to parse lines of text that are structured like this:</p>
  
  <pre><code>&lt;Text to be dropped&gt; &lt;special character (say "#")&gt; &lt;field 1&gt; &lt;comma&gt; &lt;field 2&gt;
  &lt;comma&gt; &lt;field 3&gt; &lt;special character 2 (say "%")&gt; &lt;Text to be dropped&gt;
  </code></pre>
  
  <p>I want my parser to discard the "text to be dropped" at the beginning and at the end, and to
  keep the contents of the fields. My main problem is understanding how to write a parser that drops everything up to a certain special character.</p>
  
  <p>The parsers from the library that seem helpful are anyChar, manyTill and oneOf, but I don't understand how to combine them. I would be grateful for any simple example.  </p>