How To Convert HTML Entity Codes To Plain Text

Published Date Author: , Posted April 10th, 2012 at 5:41:32pm

Using Perl:


use HTML::Entities;
my $plainText = decode_entities('Put text to convert here');

Using PHP:

$plainText = html_entity_decode('Put text to convert here',ENT_QUOTES,'UTF-8');

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.