Remove Tags from HTML Page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vasu1308
    New Member
    • Feb 2007
    • 31

    Remove Tags from HTML Page

    Hi

    I would like to know how to remove tags in a HTML page. Can anyone help me..

    Thanks
    Vasu
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    CPAN is your friend. By searching CPAN's multitude of Perl modules, you can find modules to perform many tasks. And if you do a search for html , then you will find such this as a module called HTML:Manipulato r. While it is still less that version 1.0, it may be worth a look for extracting the contents of an HTML page.

    Regards,

    Jeff

    Comment

    • vasu1308
      New Member
      • Feb 2007
      • 31

      #3
      Thank You Jeff

      Vasu

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        Very interesting module you linked to Jeff. Looks like it could be quite useful.

        The standard modele for stripping html code is HTML::Parser

        Comment

        • numberwhun
          Recognized Expert Moderator Specialist
          • May 2007
          • 3467

          #5
          I saw that and figured if it was a good one that you would certainly chimed in (as I have no experience yet trying to strip HTML), but I saw that one and it could grab text from HTML. If it works, it could be very useful.

          It hasn't been updated since 2005 so I wonder if it is complete or forgotten.

          Regards,

          Jeff

          Comment

          • vasu1308
            New Member
            • Feb 2007
            • 31

            #6
            Thank You Jeff

            Vasu



            Originally posted by numberwhun
            I saw that and figured if it was a good one that you would certainly chimed in (as I have no experience yet trying to strip HTML), but I saw that one and it could grab text from HTML. If it works, it could be very useful.

            It hasn't been updated since 2005 so I wonder if it is complete or forgotten.

            Regards,

            Jeff

            Comment

            • numberwhun
              Recognized Expert Moderator Specialist
              • May 2007
              • 3467

              #7
              Originally posted by vasu1308
              Thank You Jeff

              Vasu
              Your welcome! Let us know how it goes.

              Regards,

              Jeff

              Comment

              Working...