Removing HTML tags: is there a Perl-equivalent to PHP 'strip_tags'?

Discussion in 'Perl Misc' started by Francesco Moi, May 31, 2004.

  1. Hi.

    I've got some HTML texts, but I want to remove HTML tags from it.
    I mean, convert '<b>foo</b>' into 'foo'.

    In PHP you can use 'strip_tags':
    http://www.php.net/strip_tags

    Is there any Perl-equivalent?

    Thanks.
     
    Francesco Moi, May 31, 2004
    #1
    1. Advertising

  2. Francesco Moi

    Bill Guest

    Bill, May 31, 2004
    #2
    1. Advertising

  3. Gunnar Hjalmarsson, May 31, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. praba kar

    Reg strip_tags function in Python.

    praba kar, May 7, 2005, in forum: Python
    Replies:
    1
    Views:
    398
    Dave Benjamin
    May 7, 2005
  2. Terry Hancock

    Re: Reg strip_tags function in Python.

    Terry Hancock, May 7, 2005, in forum: Python
    Replies:
    0
    Views:
    388
    Terry Hancock
    May 7, 2005
  3. Rajive Narain
    Replies:
    0
    Views:
    1,894
    Rajive Narain
    Sep 18, 2009
  4. Stef Mientki
    Replies:
    4
    Views:
    685
    Roy Smith
    Nov 15, 2010
  5. Haoqi Haoqi

    oneline:strip_tags

    Haoqi Haoqi, Nov 20, 2009, in forum: Ruby
    Replies:
    1
    Views:
    92
    Fleck Jean-Julien
    Nov 20, 2009
Loading...

Share This Page