I have a text file (.txt) which has text data, binary data, and XML data all mixed together within it. I've googled around for a few minutes and cannot figure out how to only extract the XML from this text file. Can the good users of SO offer some suggestion?
I'm using C# 4.0.
Since I cannot simply load the text file into an XDocument, I've been messing with regex, but this approach is getting me no where.