How to parse a text file with c#?
<p>How do I parse a Textfile like:</p>

<blockquote>
  <p>{:block1:} </p>
  
  <p>%param1%= value1</p>
  
  <p>%param2% = value2</p>
  
  <p>%paramn% =valuen</p>
  
  <p>{:block2:}</p>
  
  <p>1st html - sourcecode Just copy 1:1</p>
  
  <p>{:block3:} </p>
  
  <p>2nd html - sourcecode Just copy 1:1
  ...{:block4:} </p>
  
  <p>3rd html - sourcecode Just copy 1:1</p>
</blockquote>

<p>I would like to convert data to a XmlDocument. 
Blocks are identified by {::} and params are identified by %%=</p>

<p>Thanx a lot.</p>

<p>What I'm looking for is more an idea but complete code. I have found many examples reading ini-files using RegEx and a TextReader to get some lines. The problem is: It's possible, that more than one {:block:} is within a line. There are so many whitespaces, linebreaks... </p>
