Need only text from the HTML text

  • Thread starter Thread starter Sunil A M
  • Start date Start date
S

Sunil A M

Guest
Hi,


I need C# code to get only the text which is there in the HTML Text.

Below is the HTML Text

<p><strong><span id="ctl00_ctl50_g_ccf7b312_734e_4c72_9420_c31860bc599b_lblTitle" style="font-size: large;">Five campus trends to watch in 2018<br /></span></strong><span id="ctl00_ctl50_g_ccf7b312_734e_4c72_9420_c31860bc599b_lblTitle" style="font-size: small;">What can we expect to see on higher education campuses this year? Check out what will shape real estate and facilities in 2018.</span></p>

I need to get the strings which i have marked in bold.

Regards,

Sunil

Continue reading...
 
Back
Top