?
Solved

Remove all the links out of an .html file?

Posted on 2006-11-23
10
Medium Priority
?
221 Views
Last Modified: 2010-04-05
Hi,

Does somebody have some code to remove all the links from an html file?

Thanks
0
Comment
Question by:zattz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 9

Expert Comment

by:bernani
ID: 18006492
Hi,

The answer can be the same than in your other post:

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_22071154.html

Depending of what you plan to do with the file (save as html, text, ...) , I believe that you can find all the answers with these components. Free for all versions of Delphi 5 up to D2006.

0
 

Author Comment

by:zattz
ID: 18006524
I also need an example that dosn't use twebrowser or the balsa component.

0
 
LVL 9

Assisted Solution

by:bernani
bernani earned 360 total points
ID: 18006655
Hi,

In this case, I believe you need a HTML parser.

Not free, http://www.zeitungsjunge.de/delphi/htmlparser/

See on Torry:

http://www.torry.ru/pages.php?id=216





0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Assisted Solution

by:bernani
bernani earned 360 total points
ID: 18006678
0
 
LVL 9

Assisted Solution

by:bernani
bernani earned 360 total points
ID: 18006735

...

An a little (old) sample application easy to understand, with source code

HTML Tag Stripper

http://www.wimb.net/index.php?s=delphi&page=27

View HTML
In the HTML window the HTML file can be viewed.
The result of a Tag strip is direct visible in this window.
With "HTML Save" its content is saved to file.

0
 
LVL 16

Expert Comment

by:CodedK
ID: 18006775
Here's an example without any components :
http://www.wimb.net/files/dld.php?app0027s.zip
0
 
LVL 16

Expert Comment

by:CodedK
ID: 18006780
Sorry bernani i posted the same link :)
0
 
LVL 9

Expert Comment

by:bernani
ID: 18007004
Hi CodedK,

It doesn't matter ;)

I believe each contribution is welcome, even if sometimes this happens. We try do to our best, it's the most important.
0
 
LVL 16

Accepted Solution

by:
CodedK earned 1640 total points
ID: 18007191
Hey zattz i made an application for you.
The code is easier and it works good :)

Here is the link with the source :
http://www.geocities.com/kalatz_gr_fisher/TheFiles/stripper.zip
0
 
LVL 16

Expert Comment

by:CodedK
ID: 18007946
Thank you very much zattz :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month14 days, 12 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question