Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:36:11+00:00 2026-06-12T17:36:11+00:00

I am trying to get a page title from page source of different pages.

  • 0

I am trying to get a page title from page source of different pages. But lets say some pages have title like this:

"This is an example," ABC.

It has some html in it like “"”. If i use string in c# to get this title i get the whole thing and while displaying it displays it like above which is wrong. Is there any way to ignore or to take into account html values in c#?

I am also using htmlagilitypack so anything in that will do too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:36:13+00:00Added an answer on June 12, 2026 at 5:36 pm

    You can use WebUtility.HtmlDecode to decode html, link on MSDN:

    WebUtility.HtmlDecode(""This is an example," ABC.");
    

    just use:

    using System.Net;
    

    The result will be: “\”This is an example,\” ABC.”

    You also can use HtmlEntity.DeEntitize in HTML Agility Pack:

    HtmlEntity.DeEntitize(string text)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the source of an internal domain page can have it
My db table looks like that I'm trying to get page title and content
I'm trying to get the title of a page in an iFrame. I did
iam trying to get all object's xpath's from loaded page via selenium something similar
When trying to get next activities it shows this error: This page contains the
I'm trying to get a wordpress excerpt from a page to appear in a
I have been trying to get a basic reorderlist working following this guide ->
I'm trying to get a simple uploading page up for images, but it gives
What?: I'm trying to get page-to-page link map (matrix) of wikipedia pages by page_id
I am trying to fetch the html source from this usl: http://books.google.com/books?id=NZlV0M5Ije4C&dq=isbn:0470284889 I used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.