title: C# parse elements of an HTTP POST response object from a string
body: <p>I have a set of files, each of which contain the full text of a series of HTTP POST responses.  A number of these contain binary objects (e.g. images or PDFs).  I've been trying to use regexes to extract the binary objects, but I can't seem to get it correctly.    The HTTPListener class (and associated classes) all seem to require an active connection, i.e. parsing a real time request response pair, which I don't have. Is there a good library out there which can parse a file (or a string) as an HTTP response?  If not, can anyone think of a better method for doing this than regex?</p>
  
  <p>Thanks,
  Rik</p>