in reply to Refactoring Regular Expressions
This will output:#!/usr/bin/perl use strict; use warnings; use HTML::Entities qw(decode_entities); my $htmlstring = 'This text contains an encoded "<" tag'; print decode_entities($htmlstring),"\n";
Update: Your remark on encoded html text may have set me off in the wrong direction, apparently you just wanted to remove any tags.This text contains an encoded "<" tag
|
|---|