title: Regex Matching and Deleting/Replacing a string
body: <p>So I am trying to parse through a file which has multiple "footers" (the file is an output that was designed for printing which my company wants to keep electronically stored...each footer is a new page and the new page is no longer needed as).</p>
  
  <p>I am trying to look for and remove lines that look like:</p>
  
  <p>1 of 2122                            PRINTED 07/01/2013 04:46     Page   : 1 of 11
  2 of 2122                            PRINTED 07/01/2013 04:46     Page: 2 of 11
  3 of 2122                            PRINTED 07/01/2013 04:46     Page: 3 of 11   </p>
  
  <p>and so on</p>
  
  <p>I then want to replace the final line (which would read something like "2122 of 2122") with a "custom" footer.</p>
  
  <p>I am using RegEx, but am very new to using it so how should my RegEx look in order to accomplish this? I plan on using the RegEx "count" function to find out when I've found the last line and then do a .replace on it.</p>
  
  <p>I am using VB .NET, but can translate C# if required. How can I accomplish what I'm looking to do? Specifically I only care about matching/removing of a match so long as the # of matches > 1.</p>