Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Refactoring Regular Expressions - HTML encoded text

by varian (Chaplain)
on Apr 25, 2007 at 06:51 UTC ( [id://611929]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    use HTML::Entities qw(decode_entities);
    my $htmlstring = 'This text contains an encoded "<" tag';
    print decode_entities($htmlstring),"\n";
    
  2. or download this
    This text contains an encoded "<" tag
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://611929]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 01:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found