Using Regular expression you can extract the data.
First Store the data of text file into a string then by using following you can extract for head
/*For Head Section*/
System.Text.RegularExpress
MessageBox.Show(test_Mtch.
/*For Body Section*/
System.Text.RegularExpress
MessageBox.Show(test_Mtch.
Hope this solves your problem
Main Topics
Browse All Topics





by: DhaestPosted on 2009-10-14 at 03:27:19ID: 25568844
Take a look at this PAQ: http://www.experts-exchang e.com/Prog ramming/La nguages/ C_ Sharp/Q_23 275378.htm l
/KB/cs/Tag BasedHtmlP arser.aspx
Another C# Legacy HTML Parser Using Tag Processing
http://www.codeproject.com