C# Reading file and pulling out specific lines
<p>Thanks in advance.  What i currently have is a filedialog box selecting a text file.  The text file contents will look like example.txt, and it needs to look like output.txt. NOTE: the string <code>CoreDBConnectString=</code> is 1 line all the way to <code>;Database=Source_DB.</code></p>

<pre>example.txt
[Information]
Date=
CreatedBy=
Unique=eqwe-asd-123-as12-3
CoreDataSource=
CoreDBConnectString=Provider=SQLOLEDB.1;Server=Server;Integrated Security=SSPI;Database=Source_DB
NoteDataSource=SQLServer
NoteDBConnectString=Provider=Provider=SQLOLEDB.1;Server=Server;Integrated Security=SSPI;Database=Source_DB
CoreDBCaseID=99
NoteDBCaseID=99


Output.txt
Table=99  (Comes from CoreDBCaseID)
Server=Server (comes from the string CoreDBConnectString=)
Security=SSPI (comes from the string CoreDBConnectString=)
Database=Source_DB (comes from the string CoreDBConnectString=)</pre>
